diff --git a/tasks.py b/tasks.py index d9a6878..3afb399 100644 --- a/tasks.py +++ b/tasks.py @@ -21,7 +21,7 @@ def subtitles_user(**kwargs): @periodic_task(run_every=timedelta(hours=12), queue='encoding') def render_edits(**kwargs): path = '/home/pandora/pandora_render/render_public_edits.py' - if os.path.exists(path) + if os.path.exists(path): try: subprocess.call([path]) except: