unbreak it

This commit is contained in:
Connor Olding 2014-04-29 08:52:55 -07:00
parent f7ac8f0704
commit 4bbf061085

View File

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