Skip to content

Commit

Permalink
🔖 Update to v1.4.5
Browse files Browse the repository at this point in the history
Fix: ConnectionResetError Connection lost
  • Loading branch information
omg-xtao committed Dec 16, 2023
1 parent f7416d4 commit 6609f91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pagermaid/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
import pyromod.listen
from pyrogram import Client

pgm_version = "1.4.4"
pgm_version_code = 1404
pgm_version = "1.4.5"
pgm_version_code = 1405
CMD_LIST = {}
module_dir = __path__[0]
working_dir = getcwd()
Expand Down
4 changes: 2 additions & 2 deletions pagermaid/modules/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ async def sh_eval(message: Message):
)
async def send_log(message: Message):
"""Send log to a chat."""
if not exists("pagermaid.log.txt"):
if not exists("data/pagermaid.log.txt"):
return await message.edit(lang("send_log_not_found"))
await upload_attachment(
"pagermaid.log.txt",
"data/pagermaid.log.txt",
message.chat.id,
message.reply_to_message_id or message.reply_to_top_message_id,
thumb=f"pagermaid{sep}assets{sep}logo.jpg",
Expand Down

0 comments on commit 6609f91

Please sign in to comment.