unbreak it
This commit is contained in:
parent
f7ac8f0704
commit
4bbf061085
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue