]> git.llucax.com Git - software/blitiri.git/blobdiff - blitiri.cgi
Relax config import to make it usable.
[software/blitiri.git] / blitiri.cgi
index c43835d2710b81d86631724efc9e7a06bb5c43ff..dd873877b8607bdbff696ff5395c49a086c085b9 100755 (executable)
@@ -51,11 +51,10 @@ import cgi
 from docutils.core import publish_parts
 
 # Load the config file, if there is one
-if os.path.isfile("config.py"):
-       try:
-               from config import *
-       except:
-               pass
+try:
+       from config import *
+except:
+       pass
 
 
 # Default template