Now working on linux, too

This commit is contained in:
OzzieIsaacs 2016-08-04 09:29:16 +02:00 committed by GitHub
parent 624737d2e2
commit 5a0faf9950

View File

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