Skip to content

Commit

Permalink
Fixes a bug that causes a runtime error when mbid is not supplied
Browse files Browse the repository at this point in the history
  • Loading branch information
sertansenturk committed Apr 8, 2016
1 parent 2a624e2 commit fab99e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion symbtrdataextractor/MetadataExtractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def get_metadata(self, scorename, mbid=''):

if 'work' in data.keys():
data['work']['symbtr_slug'] = slugs['name']
else:
elif 'recording' in data.keys():
data['recording']['symbtr_slug'] = slugs['name']

if 'composer' in data.keys():
Expand Down

0 comments on commit fab99e1

Please sign in to comment.