From 06dbc277c793b478c48d3a81e0481b2f762d754b Mon Sep 17 00:00:00 2001 From: j Date: Tue, 14 Nov 2023 14:44:57 +0100 Subject: [PATCH] don't fail if extract.timelines is called from another folder --- pandora/archive/extract.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/archive/extract.py b/pandora/archive/extract.py index 696e2e91..2765f0f0 100644 --- a/pandora/archive/extract.py +++ b/pandora/archive/extract.py @@ -473,7 +473,7 @@ def timeline(video, prefix, modes=None, size=None): size = [64, 16] if isinstance(video, str): video = [video] - cmd = ['../bin/oxtimelines', + cmd = [os.path.normpath(os.path.join(settings.BASE_DIR, '../bin/oxtimelines')), '-s', ','.join(map(str, reversed(sorted(size)))), '-m', ','.join(modes), '-o', prefix,