Don't try and edit non-existing movies

This commit is contained in:
Ruud
2012-06-27 16:44:14 +02:00
parent 41a3a9011f
commit aae64d8123
+3
View File
@@ -371,6 +371,9 @@ class MoviePlugin(Plugin):
for movie_id in ids:
m = db.query(Movie).filter_by(id = movie_id).first()
if not m:
continue
m.profile_id = params.get('profile_id')
# Remove releases