Make sure there are not other useless downloads in background on startup
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
This commit is contained in:
parent
50020b0e6b
commit
54c563ffc4
|
|
@ -31,6 +31,8 @@ aria2 = aria2p.API(
|
||||||
secret="",
|
secret="",
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
aria2.autopurge()
|
||||||
|
aria2.remove_all(True)
|
||||||
DOWNLOAD_DIR = None
|
DOWNLOAD_DIR = None
|
||||||
BOT_TOKEN = None
|
BOT_TOKEN = None
|
||||||
try:
|
try:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue