From f5fc295dee5064f931c794f8ce9f04c733b1e443 Mon Sep 17 00:00:00 2001 From: Ruud Date: Wed, 7 Sep 2011 18:30:41 +0200 Subject: [PATCH] First quality in profile is always "finish" --- couchpotato/core/plugins/profile/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/plugins/profile/main.py b/couchpotato/core/plugins/profile/main.py index 739ef763..86d8965d 100644 --- a/couchpotato/core/plugins/profile/main.py +++ b/couchpotato/core/plugins/profile/main.py @@ -54,7 +54,7 @@ class ProfilePlugin(Plugin): for type in params.get('types', []): t = ProfileType( order = order, - finish = type.get('finish'), + finish = type.get('finish') if order > 0 else 1, wait_for = params.get('wait_for'), quality_id = type.get('quality_id') )