Update newweb.py
Browse files
newweb.py
CHANGED
@@ -42,7 +42,8 @@ def close_db(conn):
|
|
42 |
async def updb():
|
43 |
client = TelegramClient(None, api_id, api_hash)
|
44 |
await client.start(bot_token=bot_token)
|
45 |
-
|
|
|
46 |
fle = await fast_upload(client, file_location=path)
|
47 |
entity = await client.get_entity(channel)
|
48 |
|
|
|
42 |
async def updb():
|
43 |
client = TelegramClient(None, api_id, api_hash)
|
44 |
await client.start(bot_token=bot_token)
|
45 |
+
print('upldb fn')
|
46 |
+
path = 'database.db'
|
47 |
fle = await fast_upload(client, file_location=path)
|
48 |
entity = await client.get_entity(channel)
|
49 |
|