diff --git a/unsync.py b/unsync.py index 780062a..808d2bc 100755 --- a/unsync.py +++ b/unsync.py @@ -42,7 +42,7 @@ def shouldsync(md): if sync: sync = sync[0].lower() - return sync == 'yes' or type(rating) == int and rating >= 3 and not sync is 'no' and not sync is 'space' + return sync == 'yes' or type(rating) == int and rating >= 3 and sync != 'no' and sync != 'space' def fixmetadata(md): md['artist'] = md.get('artist', u"Unknown Artist")