Code cleanup

This commit is contained in:
Ruud
2013-10-20 17:43:30 +02:00
parent 605f340be5
commit 53cd907db1
5 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -285,7 +285,7 @@ class Release(Plugin):
for file_item in rel.files:
if file_item.type.identifier == 'movie':
release_name = os.path.basename(file_item.path)
break
break
else:
release_name = item['name']
#update status in Db
@@ -297,4 +297,4 @@ class Release(Plugin):
#Update all movie info as there is no release update function
fireEvent('notify.frontend', type = 'release.update_status.%s' % rel.id, data = status.get('id'))
return True
return True