getapi commited on
Commit
0ea702f
1 Parent(s): d0efad7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
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)