From 683301e2f984c9f55bdff7037ccecbe4af11f494 Mon Sep 17 00:00:00 2001 From: Ruud Date: Sun, 29 Jan 2012 11:59:44 +0100 Subject: [PATCH] Proper done status --- couchpotato/core/plugins/renamer/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/plugins/renamer/main.py b/couchpotato/core/plugins/renamer/main.py index bc9f8198..059ce6ad 100644 --- a/couchpotato/core/plugins/renamer/main.py +++ b/couchpotato/core/plugins/renamer/main.py @@ -220,7 +220,7 @@ class Renamer(Plugin): try: if movie.status_id == active_status.get('id'): for profile_type in movie.profile.types: - if profile_type.quality_id == group['meta_data']['quality']['id'] and type.finish: + if profile_type.quality_id == group['meta_data']['quality']['id'] and profile_type.finish: movie.status_id = done_status.get('id') db.commit() except Exception, e: