From 1a4f9e367d4e8eb98ed7b1182ee0132898cbf7af Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Thu, 4 Jul 2013 01:02:14 +0200 Subject: [PATCH] Really handle unknown on rip cd info. Really fixes #30. --- morituri/rip/cd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/morituri/rip/cd.py b/morituri/rip/cd.py index e067b67..48a21a4 100644 --- a/morituri/rip/cd.py +++ b/morituri/rip/cd.py @@ -91,7 +91,7 @@ class _CD(logcommand.LogCommand): self.stdout.write('FreeDB identifies disc as %s\n' % cddbmd) # also used by rip cd info - if not self.options.get('unknown:', False): + if not getattr(self.options, 'unknown', False): self.program.ejectDevice(self.device) return -1