DISK is written with a K
This commit is contained in:
parent
58230c3a05
commit
a3cd071e4c
|
@ -172,9 +172,9 @@ class Readcd():
|
|||
|
||||
def cachestatus(self):
|
||||
self.status = self.player.getstatus()
|
||||
if self.status[0] == CD.NODISK:
|
||||
if self.status[0] == CD.NODISC:
|
||||
self.status = None
|
||||
raise Error, 'no disk in player'
|
||||
raise Error, 'no disc in player'
|
||||
|
||||
def getstatus(self):
|
||||
return self.player.getstatus()
|
||||
|
|
|
@ -172,9 +172,9 @@ class Readcd():
|
|||
|
||||
def cachestatus(self):
|
||||
self.status = self.player.getstatus()
|
||||
if self.status[0] == CD.NODISK:
|
||||
if self.status[0] == CD.NODISC:
|
||||
self.status = None
|
||||
raise Error, 'no disk in player'
|
||||
raise Error, 'no disc in player'
|
||||
|
||||
def getstatus(self):
|
||||
return self.player.getstatus()
|
||||
|
|
Loading…
Reference in New Issue