Update app.py
Browse files
app.py
CHANGED
@@ -15,6 +15,10 @@ from ytelegraph import TelegraphAPI
|
|
15 |
from aiorentry.client import Client as RentryClient
|
16 |
from uvicorn import run as uvicorn_run
|
17 |
|
|
|
|
|
|
|
|
|
18 |
need_logging = False
|
19 |
|
20 |
basicConfig(level=INFO if need_logging else ERROR)
|
|
|
15 |
from aiorentry.client import Client as RentryClient
|
16 |
from uvicorn import run as uvicorn_run
|
17 |
|
18 |
+
from os import environ
|
19 |
+
environ['PH_TOKEN_PATH'] = '/code/ph.txt'
|
20 |
+
|
21 |
+
|
22 |
need_logging = False
|
23 |
|
24 |
basicConfig(level=INFO if need_logging else ERROR)
|