Fix for #45 DB_ROOT not found

This commit is contained in:
OzzieIsaacs 2016-08-03 07:28:14 +02:00 committed by GitHub
parent d051a1dbeb
commit 624737d2e2

View File

@ -6,7 +6,7 @@ import sys
from configobj import ConfigObj from configobj import ConfigObj
CONFIG_FILE= os.path.join(os.getcwd(), "config.ini") CONFIG_FILE= os.path.join(os.path.dirname(os.path.realpath(__file__))+"\\..\\", "config.ini")
CFG = ConfigObj(CONFIG_FILE) CFG = ConfigObj(CONFIG_FILE)
def CheckSection(sec): def CheckSection(sec):