Commits

php  committed 3fcebf5 Merge

Merge

  • Participants
  • Parent commits eb18062, a4d2f0c

Comments (0)

Files changed (1)

File blatter/__init__.py

 config_names = os.environ.get('BLATTER_CONFIG', 'blatter.ini, local.ini')
 config_files = [fn.strip() for fn in config_names.split(',')]
 del config_names
+for config_file in config_files:
+    p = os.path.dirname(os.path.abspath(config_file))
+    if p not in sys.path:
+        sys.path.append(p)
 
 base_config="""\
 [blatter]