Small Fixes.

- fixing get addons
- fixing file_download
This commit is contained in:
Devesh Pal
2021-09-19 14:31:08 +05:30
committed by GitHub
parent 50bd12708a
commit 8f28387fb3
2 changed files with 3 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ async def get_the_addons_lol(event):
if thelink is None:
return await eor(xx, fool, time=10)
split_thelink = thelink.split("/")
if "raw" not in split_thelink:
if "raw" not in thelink:
return await eor(xx, fool, time=10)
name_of_it = split_thelink[(len(split_thelink) - 1)]
plug = requests.get(thelink).text