From a894b2ae4fbdd220afbabc007e5109ae9648b413 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sat, 8 Sep 2012 19:40:41 +0200 Subject: [PATCH] typo --- bin/0xcd | 3 --- oxcd/itunes.py | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/bin/0xcd b/bin/0xcd index 55d9ffc..1196e19 100755 --- a/bin/0xcd +++ b/bin/0xcd @@ -21,9 +21,6 @@ if __name__ == '__main__': parser.add_option('-r', '--rhythmbox', dest='rhythmbox', help='Rhythmbox xml', default=oxcd.rhythmbox.path()) (opts, args) = parser.parse_args() - print (opts.port, ) - print not filter(None, (opts.itunes, opts.rhythmbox)) - if None in (opts.port, ) or not filter(None, (opts.itunes, opts.rhythmbox)): parser.print_help() sys.exit() diff --git a/oxcd/itunes.py b/oxcd/itunes.py index f2df02c..e07a80e 100644 --- a/oxcd/itunes.py +++ b/oxcd/itunes.py @@ -41,7 +41,7 @@ class iTunes(object): ] for t in self.library['Tracks']: track = self.library['Tracks'][t] - if track.get('kind') in ('MPEG audio file') and not track.get('podcast'): + if track.get('kind') in ('MPEG audio file', ) and not track.get('podcast'): item = {} for key in keys: item[key] = track.get({