mirror of
https://gitlab.com/octospacc/TelegramIndex-Fork.git
synced 2025-06-05 22:09:12 +02:00
🚸 PORT error shown
This commit is contained in:
@@ -8,7 +8,8 @@ import os
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
port = int(os.environ.get("PORT", "8080"))
|
port = int(os.environ.get("PORT", "8080"))
|
||||||
except ValueError:
|
except Exception as e:
|
||||||
|
print(e)
|
||||||
port = -1
|
port = -1
|
||||||
if not 1 <= port <= 65535:
|
if not 1 <= port <= 65535:
|
||||||
print(
|
print(
|
||||||
|
Reference in New Issue
Block a user