mirror of
https://gitlab.com/octospacc/TelegramIndex-Fork.git
synced 2025-02-19 21:10:48 +01:00
🚸 PORT error shown
This commit is contained in:
parent
7dd3723114
commit
597bb051c0
@ -8,7 +8,8 @@ import os
|
||||
|
||||
try:
|
||||
port = int(os.environ.get("PORT", "8080"))
|
||||
except ValueError:
|
||||
except Exception as e:
|
||||
print(e)
|
||||
port = -1
|
||||
if not 1 <= port <= 65535:
|
||||
print(
|
||||
|
Loading…
x
Reference in New Issue
Block a user