Fix for #45 DB_ROOT not found
This commit is contained in:
parent
d051a1dbeb
commit
624737d2e2
@ -6,7 +6,7 @@ import sys
|
||||
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)
|
||||
|
||||
def CheckSection(sec):
|
||||
|
Loading…
Reference in New Issue
Block a user