From: Matthijs Kooijman Date: Fri, 8 Feb 2008 20:50:09 +0000 (+0100) Subject: * Remove the absolute path from the import script. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=c2998045cc19b7b4fd960375c53acc2aa390467a;p=matthijs%2Fprojects%2Fxerxes.git * Remove the absolute path from the import script. --- diff --git a/import.py b/import.py index d1d5e42..1e77c90 100644 --- a/import.py +++ b/import.py @@ -1,7 +1,7 @@ import sys import os -sys.path = sys.path + ['/home/matthijs/docs/src/django'] +sys.path = sys.path + [os.path.dirname(os.path.dirname(os.path.abspath(__file__)))] os.environ['DJANGO_SETTINGS_MODULE']='ee.settings' import MySQLdb