fixed exception handling, removed the connection error

pull/280/head
iaacornus 3 years ago
parent f7d5b6cfe4
commit ef6792de90
No known key found for this signature in database
GPG Key ID: 281739AE7252598C

@ -68,11 +68,8 @@ def program_options():
else:
print_substep("Error occured!", style="bold red")
raise SystemExit()
except (
ConnectionError,
KeyboardInterrupt,
):
print_substep("Error occured!", style="bold red")
except KeyboardInterrupt:
print_substep("\nOperation Aborted!", style="bold red")
if __name__ == "__main__":

Loading…
Cancel
Save