Fixed reference to missing constant on Linux
This commit is contained in:
parent
0afac4ab39
commit
e9dde392ed
@ -438,7 +438,7 @@ class ConfigurationGetter(object):
|
|||||||
for location in locations:
|
for location in locations:
|
||||||
for name in constants.CONFIG_NAMES:
|
for name in constants.CONFIG_NAMES:
|
||||||
path = location + os.path.sep + name
|
path = location + os.path.sep + name
|
||||||
if os.path.isfile(path) and (os.name == 'nt' or path != os.path.join(os.getenv('HOME', '.'), constants.DEFAULT_CONFIG_NAME_LINUX)):
|
if os.path.isfile(path) and (os.name == 'nt' or path != os.path.join(os.getenv('HOME', '.'), name)):
|
||||||
loadedPaths.append("'{}'".format(os.path.normpath(path)))
|
loadedPaths.append("'{}'".format(os.path.normpath(path)))
|
||||||
self._parseConfigFile(path, createConfig=False)
|
self._parseConfigFile(path, createConfig=False)
|
||||||
self._checkConfig()
|
self._checkConfig()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user