Skip to content

Commit

Permalink
basic implementation of #309
Browse files Browse the repository at this point in the history
  • Loading branch information
EDM115 authored Jun 21, 2024
1 parent a351b65 commit 101f95d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unzipper/modules/ext_script/up_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ async def send_file(unzip_bot, c_id, doc_f, query, full_path, log_msg, split):
return
try:
ul_mode = await get_upload_mode(c_id)
fname = os.path.basename(doc_f)
fname = os.sep.join(full_path.split(os.sep)[4:]) if full_path else os.path.basename(doc_f)
fext = (pathlib.Path(os.path.abspath(doc_f)).suffix).casefold().replace(".", "")
thumbornot = await thumb_exists(c_id)
upmsg = await unzipperbot.send_message(
Expand Down

0 comments on commit 101f95d

Please sign in to comment.