Skip to content

Commit a8b473d

Browse files
authored
Merge pull request #591 from codders/bugfix/588/config_file_loading
Resolve value before comparing to None
2 parents 5e0cf03 + acd0b6c commit a8b473d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flathunter/argument_parser.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def parse():
1313
" and sends results to Telegram User"),
1414
epilog="Designed by Nody"
1515
)
16-
if Env.FLATHUNTER_TARGET_URLS is not None:
16+
if Env.FLATHUNTER_TARGET_URLS() is not None:
1717
default_config_path = None
1818
else:
1919
root_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

0 commit comments

Comments
 (0)