Don't add default profile if status is done
This commit is contained in:
1 parent
3faece0b4c
commit
76126271fc
1 file changed
+1
-1
@@ -90,7 +90,7 @@ class MovieBase(MovieTypeBase):
|
|||||||
|
|
||||||
# Default profile and category
|
# Default profile and category
|
||||||
default_profile = {}
|
default_profile = {}
|
||||||
if not params.get('profile_id'):
|
if not params.get('profile_id') and status != 'done':
|
||||||
default_profile = fireEvent('profile.default', single = True)
|
default_profile = fireEvent('profile.default', single = True)
|
||||||
cat_id = params.get('category_id')
|
cat_id = params.get('category_id')
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user