Linux path problem solved (finally)

This commit is contained in:
OzzieIsaacs
2016-08-07 10:32:45 +02:00
parent 5a0faf9950
commit 59136a9cc2
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.path.dirname(os.path.realpath(__file__))+os.sep+".."+os.sep, "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)
def CheckSection(sec):