Merge pull request #48 from OzzieIsaacs/patch-1

Fix for #45 DB_ROOT not found
This commit is contained in:
cervinko
2016-08-07 22:51:06 +02:00
committed by GitHub
5 changed files with 6 additions and 7 deletions
+1 -2
View File
@@ -5,8 +5,7 @@ import os
import sys
from configobj import ConfigObj
CONFIG_FILE= os.path.join(os.getcwd(), "config.ini")
CONFIG_FILE= os.path.join(os.path.normpath(os.path.dirname(os.path.realpath(__file__))+os.sep+".."+os.sep), "config.ini")
CFG = ConfigObj(CONFIG_FILE)
CFG.encoding='UTF-8'