From: Leandro Lucarella Date: Mon, 4 Aug 2008 01:36:00 +0000 (-0300) Subject: Make blitiri.cgi work as a symlink X-Git-Url: https://git.llucax.com/software/blitiri.git/commitdiff_plain/5e45cd0354881aee35f582b4c233eb8341ebc7a3?hp=1ed8b3ab6ffa91ec28028bd442403d6f632970a7 Make blitiri.cgi work as a symlink --- 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 *