git » blitiri » commit 5e45cd0

Make blitiri.cgi work as a symlink

author Leandro Lucarella
2008-08-04 01:36:00 UTC
committer Alberto Bertogli
2008-08-07 05:13:02 UTC
parent 1ed8b3ab6ffa91ec28028bd442403d6f632970a7

Make blitiri.cgi work as a symlink

blitiri.cgi +3 -0

diff --git a/blitiri.cgi b/blitiri.cgi
index f08247e..1dadce5 100755
--- a/blitiri.cgi
+++ b/blitiri.cgi
@@ -50,6 +50,9 @@ import urllib
 import cgi
 from docutils.core import publish_parts
 
+# Before importing the config, add our cwd to the Python path
+sys.path.append(os.getcwd())
+
 # Load the config file, if there is one
 try:
 	from config import *