minor changes
Browse files- App/__init__.py +4 -2
App/__init__.py
CHANGED
@@ -66,12 +66,14 @@ class ServerState(Node):
|
|
66 |
|
67 |
|
68 |
TELEGRAM_SESSION = os.environ.get("TELEGRAM_SESSION", "RANDOM_STRING")
|
69 |
-
TELEGRAM_SESSION_PYROGRAM = os.environ.get("TELEGRAM_SESSION_PYROGRAM")
|
70 |
MASTER_SERVER = bool(os.environ.get("MASTER", 0))
|
71 |
SPACE_HOST = os.environ.get("SPACE_HOST", "RANDOM_STRING")
|
72 |
|
73 |
|
74 |
-
SERVER_STATE = ServerState(
|
|
|
|
|
75 |
|
76 |
|
77 |
bot: TelegramClient = TelegramClient(
|
|
|
66 |
|
67 |
|
68 |
TELEGRAM_SESSION = os.environ.get("TELEGRAM_SESSION", "RANDOM_STRING")
|
69 |
+
TELEGRAM_SESSION_PYROGRAM = os.environ.get("TELEGRAM_SESSION_PYROGRAM", " ")
|
70 |
MASTER_SERVER = bool(os.environ.get("MASTER", 0))
|
71 |
SPACE_HOST = os.environ.get("SPACE_HOST", "RANDOM_STRING")
|
72 |
|
73 |
|
74 |
+
SERVER_STATE = ServerState(
|
75 |
+
CACHED=False, MASTER=MASTER_SERVER, SPACE_HOST=SPACE_HOST, NODES=None
|
76 |
+
)
|
77 |
|
78 |
|
79 |
bot: TelegramClient = TelegramClient(
|