DISK is written with a K

This commit is contained in:
Guido van Rossum 1992-04-23 11:34:39 +00:00
parent 58230c3a05
commit a3cd071e4c
2 changed files with 4 additions and 4 deletions

View File

@ -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()

View File

@ -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()