Skip to content
This repository has been archived by the owner on Sep 28, 2021. It is now read-only.

Commit

Permalink
fix: no result when using option --alert (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
sibalzer committed Jun 9, 2021
2 parents e362b5d + 9365814 commit f895fbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/settings.py
Expand Up @@ -180,7 +180,7 @@ def load(path):
config = RawConfigParser()
dataset = config.read(path)
if not dataset:
raise FileNotFoundError()
raise FileNotFoundError("config.ini not found.")

__parse(config)
__validate()
1 change: 1 addition & 0 deletions src/validate_config.py
Expand Up @@ -26,6 +26,7 @@


while True:
result = ""
if not arg['alert']:
print("Do you want to send a test message? yes/no")
result = input().lower()
Expand Down

0 comments on commit f895fbd

Please sign in to comment.