Hashir Kashif
commited on
Commit
·
bbd36c3
1
Parent(s):
5377411
editing999999909
Browse files
app.py
CHANGED
|
@@ -14,6 +14,7 @@ import time
|
|
| 14 |
import json
|
| 15 |
from urllib.parse import unquote
|
| 16 |
os.remove("./cookies/test.txt")
|
|
|
|
| 17 |
def send_retrieve_cookie_msg(channelid):
|
| 18 |
print("getting cookie")
|
| 19 |
secret = os.environ['DISCORD_CODE']
|
|
@@ -166,7 +167,7 @@ def backupTask(location,filename):
|
|
| 166 |
'authorization': os.environ['DISCORD_CODE'],
|
| 167 |
}
|
| 168 |
files = {
|
| 169 |
-
"file" : ("./
|
| 170 |
}
|
| 171 |
|
| 172 |
channel_id = "1193267345079156746"
|
|
|
|
| 14 |
import json
|
| 15 |
from urllib.parse import unquote
|
| 16 |
os.remove("./cookies/test.txt")
|
| 17 |
+
print("testing", flush=True)
|
| 18 |
def send_retrieve_cookie_msg(channelid):
|
| 19 |
print("getting cookie")
|
| 20 |
secret = os.environ['DISCORD_CODE']
|
|
|
|
| 167 |
'authorization': os.environ['DISCORD_CODE'],
|
| 168 |
}
|
| 169 |
files = {
|
| 170 |
+
"file" : ("./"+filename+".zip", open("./"+filename+".zip", 'rb'))
|
| 171 |
}
|
| 172 |
|
| 173 |
channel_id = "1193267345079156746"
|