From d6ee3019aaa1e3efef175dd5bd4a5b423cce8d3a Mon Sep 17 00:00:00 2001 From: j Date: Fri, 4 Aug 2017 18:55:45 +0200 Subject: [PATCH] fixup b991a3c381 sometimes its a module --- pandora/archive/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora/archive/views.py b/pandora/archive/views.py index 9a1290bb1..357824aeb 100644 --- a/pandora/archive/views.py +++ b/pandora/archive/views.py @@ -162,9 +162,9 @@ def upload(request, data=None): os.chmod(f.data.path, 0o644) f.item.update_selected() if not f.item.rendered: - f.item.tasks.update_timeline.delay(f.item.public_id) + item.tasks.update_timeline.delay(f.item.public_id) else: - f.item.tasks.load_subtitles.delay(f.item.public_id) + item.tasks.load_subtitles.delay(f.item.public_id) response = json_response(text='file saved') else: response = json_response(status=403, text='permission denied')