Really handle unknown on rip cd info. Really fixes #30.

This commit is contained in:
Thomas Vander Stichele
2013-07-04 01:02:14 +02:00
parent 27030a9842
commit 1a4f9e367d

View File

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