Skip to content

Commit

Permalink
Removed internet connection check
Browse files Browse the repository at this point in the history
  • Loading branch information
rzc0d3r committed Sep 15, 2024
1 parent 18bb3d4 commit fa6ef92
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,11 +220,6 @@ def main():
if not args['custom_email_api']:
if args['email_api'] not in ['mailticking', 'developermail']:
raise RuntimeError('--endpoint-key, --protecthub-account works ONLY if you use the --custom-email-api argument or the following Email APIs: mailticking, developermail!!!')
# check internet connection
try:
requests.get('https://www.google.com', timeout=10, allow_redirects=True)
except:
raise RuntimeError("Check your internet connection!!!")
# check program updates
if args['update']:
print(f'{Fore.LIGHTMAGENTA_EX}-- Updater --{Fore.RESET}\n')
Expand Down

0 comments on commit fa6ef92

Please sign in to comment.