Skip to content

Commit

Permalink
Use of https protocol and increased connection timeout (internet check)
Browse files Browse the repository at this point in the history
  • Loading branch information
rzc0d3r committed Sep 8, 2024
1 parent 92d0010 commit 45ab059
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import sys
import re

VERSION = ['v1.5.0.5', 1505]
VERSION = ['v1.5.0.6', 1506]
LOGO = f"""
███████╗███████╗███████╗████████╗ ██╗ ██╗███████╗██╗ ██╗ ██████╗ ███████╗███╗ ██╗
██╔════╝██╔════╝██╔════╝╚══██╔══╝ ██║ ██╔╝██╔════╝╚██╗ ██╔╝██╔════╝ ██╔════╝████╗ ██║
Expand Down Expand Up @@ -222,7 +222,7 @@ def main():
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('http://www.google.com', timeout=5, allow_redirects=True)
requests.get('https://www.google.com', timeout=10, allow_redirects=True)
except:
raise RuntimeError("Check your internet connection!!!")
# check program updates
Expand Down

0 comments on commit 45ab059

Please sign in to comment.