]> git.llucax.com Git - software/blitiri.git/commitdiff
Make blitiri.cgi work as a symlink
authorLeandro Lucarella <luca@llucax.com.ar>
Mon, 4 Aug 2008 01:36:00 +0000 (22:36 -0300)
committerAlberto Bertogli <albertito@blitiri.com.ar>
Thu, 7 Aug 2008 05:13:02 +0000 (02:13 -0300)
blitiri.cgi

index f08247ee827feb87032cd8b2ba92c7300486ce17..1dadce5c3852d9140f69621d1747199449244e31 100755 (executable)
@@ -50,6 +50,9 @@ import urllib
 import cgi
 from docutils.core import publish_parts
 
 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 *
 # Load the config file, if there is one
 try:
        from config import *