Skip to content

Commit

Permalink
Update fileTools.py
Browse files Browse the repository at this point in the history
  • Loading branch information
StarkGang authored Feb 13, 2021
1 parent 380722d commit 1786581
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fridaybot/modules/fileTools.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,11 @@ async def hmm(event):
return
starky = await borg.download_media(lol.media)
hmmu = await event.edit("hmm... Please Wait..")
pdf = Code2pdf(starky, "[email protected]", "Ä4")
pdf = Code2pdf(starky, "test.pdf", "Ä4")
pdf.init_print()
await event.delete()
await borg.send_file(
event.chat_id, "Code2Pdf@FridayOt.pdf", caption=f"**Code2Pdf - ** @FridayOt"
event.chat_id, "test.pdf", caption=f"**Code2Pdf - ** @FridayOt"
)
os.remove("[email protected]")
os.remove(starky)
Expand Down

0 comments on commit 1786581

Please sign in to comment.