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: if sync:
sync = sync[0].lower() 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): def fixmetadata(md):
md['artist'] = md.get('artist', u"Unknown Artist") md['artist'] = md.get('artist', u"Unknown Artist")