Spaces:
sahanind
/
No application file

sahanind commited on
Commit
ff73e42
·
verified ·
1 Parent(s): c6c50b1

Update bdl.py

Browse files
Files changed (1) hide show
  1. bdl.py +2 -1
bdl.py CHANGED
@@ -15,7 +15,7 @@ api_hash = str(api_hash)
15
  bot_token = str(btoken)
16
  channel= int(chnl)
17
 
18
- print('dl sec')
19
 
20
  async def downdb():
21
  client = TelegramClient(None, api_id, api_hash)
@@ -33,6 +33,7 @@ async def downdb():
33
  return '2'
34
 
35
  if p==True:
 
36
  loop = asyncio.new_event_loop()
37
  asyncio.set_event_loop(loop)
38
  rp = loop.run_until_complete(downdb())
 
15
  bot_token = str(btoken)
16
  channel= int(chnl)
17
 
18
+
19
 
20
  async def downdb():
21
  client = TelegramClient(None, api_id, api_hash)
 
33
  return '2'
34
 
35
  if p==True:
36
+ print('database sync event')
37
  loop = asyncio.new_event_loop()
38
  asyncio.set_event_loop(loop)
39
  rp = loop.run_until_complete(downdb())