Skip to content

Commit

Permalink
Don't check for connectivity on --help (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdowne authored Aug 28, 2024
1 parent 456e408 commit a5b541c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ethstaker_deposit/deposit.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ def check_connectivity() -> None:
'''
Checks if there is an internet connection and warns the user if so.
'''
if '--help' in sys.argv:
return None
try:
socket.setdefaulttimeout(2)
socket.getaddrinfo('icann.org', 80)
Expand Down

0 comments on commit a5b541c

Please sign in to comment.