diff options
-rwxr-xr-x | Lib/irix5/readcd.py | 4 | ||||
-rwxr-xr-x | Lib/plat-irix5/readcd.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Lib/irix5/readcd.py b/Lib/irix5/readcd.py index b4da9b8..354d372 100755 --- a/Lib/irix5/readcd.py +++ b/Lib/irix5/readcd.py @@ -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() diff --git a/Lib/plat-irix5/readcd.py b/Lib/plat-irix5/readcd.py index b4da9b8..354d372 100755 --- a/Lib/plat-irix5/readcd.py +++ b/Lib/plat-irix5/readcd.py @@ -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() |