mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
14 lines
180 B
Python
14 lines
180 B
Python
|
|
import os
|
||
|
|
|
||
|
|
|
||
|
|
try:
|
||
|
|
DATABASE_URI = os.environ['DATABASE_URI']
|
||
|
|
except KeyError:
|
||
|
|
DATABASE_URI = ''
|
||
|
|
|
||
|
|
try:
|
||
|
|
TL_M_KEY = os.environ['TL_KEY']
|
||
|
|
except KeyError:
|
||
|
|
TL_M_KEY = []
|
||
|
|
|