Bug fixes V2.1 (#467)
* Ultroid 2025 Co-authored-by: New-dev0 <New-dev0@users.noreply.github.com> Co-authored-by: Amit Sharma <buddhhu@users.noreply.github.com> Co-authored-by: TechiError <techierror@users.noreply.github.com> Co-authored-by: Aditya <me@xditya.me> Co-authored-by: 1Danish-00 <danish@ultroid.tech> Co-authored-by: Arnab Paryali <Arnabxd@users.noreply.github.com> Co-authored-by: hellboi_atul <hellboi-atul@users.noreply.github.com> Co-authored-by: sppidy <sppidy@users.noreply.github.com> by Devesh Pal
This commit is contained in:
@@ -33,10 +33,8 @@ try:
|
||||
from yaml import safe_load
|
||||
except ImportError:
|
||||
from pyUltroid.fns.tools import safe_load
|
||||
try:
|
||||
from telegraph import upload_file as uf
|
||||
except ImportError:
|
||||
uf = None
|
||||
|
||||
from . import upload_file as uf
|
||||
from telethon.tl import functions
|
||||
|
||||
fn = functions
|
||||
@@ -99,7 +97,7 @@ async def _(event):
|
||||
f"Unknown Response from Carbon: `{li}`\n\nstdout`:{stdout}`\nstderr: `{stderr}`"
|
||||
)
|
||||
return
|
||||
url = f"https://graph.org{uf(li)[-1]}"
|
||||
url = uf(li)
|
||||
OUT = f"[\xad]({url}){OUT}"
|
||||
out = "**• OUTPUT:**"
|
||||
remove(li)
|
||||
@@ -121,7 +119,7 @@ async def _(event):
|
||||
f"Unknown Response from Carbon: `{li}`\n\nstdout`:{stdout}`\nstderr: `{stderr}`"
|
||||
)
|
||||
return
|
||||
url = f"https://graph.org{uf(li)[-1]}"
|
||||
url = uf(li)
|
||||
OUT = f"[\xad]({url}){OUT}"
|
||||
out = "**• OUTPUT:**"
|
||||
remove(li)
|
||||
|
||||
Reference in New Issue
Block a user