mirror of
https://github.com/house-of-vanity/fesmoo_perdoliq.git
synced 2025-07-06 13:44:08 +00:00
Fix include issue
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,6 +1,8 @@
|
||||
# configs
|
||||
creds.ini
|
||||
tg_settings.py
|
||||
*.swp
|
||||
*.swo
|
||||
|
||||
# Byte-compiled / optimized / DLL files
|
||||
__pycache__/
|
||||
|
10
baraban.py
10
baraban.py
@ -11,6 +11,11 @@ import telegram
|
||||
from telegram.error import NetworkError, Unauthorized
|
||||
from time import sleep
|
||||
import tg_settings
|
||||
try:
|
||||
if os.environ["DRYRUN"]:
|
||||
from dryrun import Perdoliq
|
||||
except:
|
||||
from main import Perdoliq
|
||||
|
||||
update_id = None
|
||||
|
||||
@ -20,11 +25,6 @@ def main():
|
||||
global update_id
|
||||
# Telegram Bot Authorization Token
|
||||
TOKEN = tg_settings.TG_TOKEN
|
||||
try:
|
||||
if os.environ["DRYRUN"]:
|
||||
from dryrun import Perdoliq
|
||||
except:
|
||||
from main import Perdoliq
|
||||
bot = telegram.Bot(TOKEN)
|
||||
|
||||
# get the first pending update_id,
|
||||
|
Reference in New Issue
Block a user