Skip to content

Commit

Permalink
misc update to exception handling created in prev. commit
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfrust committed Sep 22, 2021
1 parent e11ec2a commit 5523d10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bannoti.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def removeFromStartup(Name) -> None:

sleep(5)

except (requests.exceptions.ConnectionError, requests.exceptions.ConnectionError) :
except requests.exceptions.ConnectionError:
print(f"{Fore.RED}Internet connection lost.. {Style.RESET_ALL}", end="")
while True:
sleep(5)
Expand Down

0 comments on commit 5523d10

Please sign in to comment.