Kaydet (Commit) a3cd071e authored tarafından Guido van Rossum's avatar Guido van Rossum

DISK is written with a K

üst 58230c3a
...@@ -172,9 +172,9 @@ class Readcd(): ...@@ -172,9 +172,9 @@ class Readcd():
def cachestatus(self): def cachestatus(self):
self.status = self.player.getstatus() self.status = self.player.getstatus()
if self.status[0] == CD.NODISK: if self.status[0] == CD.NODISC:
self.status = None self.status = None
raise Error, 'no disk in player' raise Error, 'no disc in player'
def getstatus(self): def getstatus(self):
return self.player.getstatus() return self.player.getstatus()
......
...@@ -172,9 +172,9 @@ class Readcd(): ...@@ -172,9 +172,9 @@ class Readcd():
def cachestatus(self): def cachestatus(self):
self.status = self.player.getstatus() self.status = self.player.getstatus()
if self.status[0] == CD.NODISK: if self.status[0] == CD.NODISC:
self.status = None self.status = None
raise Error, 'no disk in player' raise Error, 'no disc in player'
def getstatus(self): def getstatus(self):
return self.player.getstatus() return self.player.getstatus()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment