Add new movie to top of wanted list. closes #301

This commit is contained in:
Ruud committed 2012-05-23 23:00:27 +02:00
1 parent 75b734db72
commit 11958334ac
5 files changed
+59 -27

No files matched your search

+2 -2
View File
@@ -138,8 +138,8 @@ class LibraryPlugin(Plugin):
library = db.query(Library).filter_by(identifier = identifier).first()
if not library.info:
self.update(identifier)
dates = library.get('info', {}).get('release_dates')
library_dict = self.update(identifier)
dates = library_dict.get('info', {}).get('release_dates')
else:
dates = library.info.get('release_date')