From e8795b5f45ea67c83f7e99c54b04e0dceb1fee34 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Mon, 20 Sep 2010 21:59:57 +0100 Subject: [PATCH] Change to the root directory before executing (stops Mumble ICE file errors) This was causing the SSO job to fail, thanks for psu3d0 for pointing it out. --- run-cron.py | 1 + 1 file changed, 1 insertion(+) diff --git a/run-cron.py b/run-cron.py index e6db17c..3bcdbe3 100755 --- a/run-cron.py +++ b/run-cron.py @@ -5,6 +5,7 @@ import os # Activate the virtualenv path = os.path.dirname(os.path.abspath( __file__ )) +os.chdir(path) activate_this = os.path.join(path, 'env/bin/activate_this.py') execfile(activate_this, dict(__file__=activate_this))