* Remove the absolute path from the import script.
authorMatthijs Kooijman <matthijs@stdio.flexvps.nl>
Fri, 8 Feb 2008 20:50:09 +0000 (21:50 +0100)
committerMatthijs Kooijman <matthijs@stdio.flexvps.nl>
Fri, 8 Feb 2008 20:50:09 +0000 (21:50 +0100)
import.py

index d1d5e421a202d68a7c3c529d264aa5f5d99489a3..1e77c90b10123c1a1ea767af95b954666eba0d27 100644 (file)
--- 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