diff --git a/postcards/lib/utils.py b/postcards/lib/utils.py index 3abb94e..201c87d 100644 --- a/postcards/lib/utils.py +++ b/postcards/lib/utils.py @@ -55,7 +55,7 @@ def run_reddit_script(command, arguments): '--plugin=r2', 'run', app.config['REDDIT_CONFIG'], - 'scripts/' + command + '.py', + '/opt/postcards/scripts/' + command + '.py', '-c', command + '(' + ','.join(repr(x) for x in arguments) + ')' ])