Update bdl.py
Browse files
bdl.py
CHANGED
|
@@ -15,7 +15,7 @@ api_hash = str(api_hash)
|
|
| 15 |
bot_token = str(btoken)
|
| 16 |
channel= int(chnl)
|
| 17 |
|
| 18 |
-
|
| 19 |
|
| 20 |
async def downdb():
|
| 21 |
client = TelegramClient(None, api_id, api_hash)
|
|
@@ -31,7 +31,7 @@ async def downdb():
|
|
| 31 |
|
| 32 |
|
| 33 |
return '2'
|
| 34 |
-
|
| 35 |
if p=='1':
|
| 36 |
print('database sync event')
|
| 37 |
loop = asyncio.new_event_loop()
|
|
|
|
| 15 |
bot_token = str(btoken)
|
| 16 |
channel= int(chnl)
|
| 17 |
|
| 18 |
+
p = str(p)
|
| 19 |
|
| 20 |
async def downdb():
|
| 21 |
client = TelegramClient(None, api_id, api_hash)
|
|
|
|
| 31 |
|
| 32 |
|
| 33 |
return '2'
|
| 34 |
+
print(p)
|
| 35 |
if p=='1':
|
| 36 |
print('database sync event')
|
| 37 |
loop = asyncio.new_event_loop()
|