Skip to content

Commit

Permalink
Merge pull request #591 from codders/bugfix/588/config_file_loading
Browse files Browse the repository at this point in the history
Resolve value before comparing to None
  • Loading branch information
codders authored May 12, 2024
2 parents 5e0cf03 + acd0b6c commit a8b473d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flathunter/argument_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def parse():
" and sends results to Telegram User"),
epilog="Designed by Nody"
)
if Env.FLATHUNTER_TARGET_URLS is not None:
if Env.FLATHUNTER_TARGET_URLS() is not None:
default_config_path = None
else:
root_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
Expand Down

0 comments on commit a8b473d

Please sign in to comment.