From d9e2175ddce1588bdf20c584a2aa0d209291808b Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Wed, 3 Jul 2013 20:15:32 +0200 Subject: [PATCH] Handle unknown option on rip cd info. Fixes #30. --- morituri/rip/cd.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/morituri/rip/cd.py b/morituri/rip/cd.py index 436b6ba..e067b67 100644 --- a/morituri/rip/cd.py +++ b/morituri/rip/cd.py @@ -90,7 +90,8 @@ class _CD(logcommand.LogCommand): if cddbmd: self.stdout.write('FreeDB identifies disc as %s\n' % cddbmd) - if not self.options.unknown: + # also used by rip cd info + if not self.options.get('unknown:', False): self.program.ejectDevice(self.device) return -1