Skip to content

Commit 080ed97

Browse files
author
Alex Meadows
committed
Reverting changes
1 parent 109459a commit 080ed97

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

process_tracker/utilities/settings.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ def __init__(self, config_location=None):
4040
else:
4141
self.config_path = config_location
4242

43-
if ".ini" not in self.config_path:
43+
if (
44+
"process_tracker_config.ini" not in self.config_path
45+
and ".ini" not in self.config_path
46+
):
4447
self.logger.debug(
4548
"process_tracker_config.ini not present. Appending to %s"
4649
% self.config_path
@@ -56,7 +59,7 @@ def __init__(self, config_location=None):
5659
self.logger.debug("Config file is now %s" % self.config_file)
5760
else:
5861
self.logger.debug(
59-
"process_tracker config file present in path. Setting config_path to config_file."
62+
"process_tracker_config.ini present. Setting config_path to config_file."
6063
)
6164
self.config_file = self.config_path
6265

0 commit comments

Comments
 (0)