Skip to content

Commit

Permalink
small logic fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Loevenich, Mathis committed Jul 17, 2020
1 parent e93773c commit b879c73
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion script/htcompact
Original file line number Diff line number Diff line change
Expand Up @@ -1083,8 +1083,9 @@ def find_config():
found_config = True
arguments.remove(file)
else:
found_config_file = file
found_default_in_cwd = True

found_config_file = file

# try to find the config file in the current environment hierarchy
elif os.path.isfile(f"{sys.prefix}/config/{file}") and config.read(f"{sys.prefix}/config/{file}"):
Expand Down

0 comments on commit b879c73

Please sign in to comment.