Skip to content

Commit

Permalink
Fix file uplaod name (important)
Browse files Browse the repository at this point in the history
fix #1777

Signed-off-by: anasty17 <[email protected]>
  • Loading branch information
anasty17 committed Oct 9, 2024
1 parent eda38a0 commit 2212537
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bot/modules/mirror_leech.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ async def new_event(self):
self.thumbnail_layout = args["-tl"]
self.as_doc = args["-doc"]
self.as_med = args["-med"]
self.folder_name = f"/{args["-m"]}"
self.folder_name = f"/{args["-m"]}" if len(args["-m"]) > 0 else ""

headers = args["-h"]
is_bulk = args["-b"]
Expand Down
2 changes: 1 addition & 1 deletion bot/modules/ytdlp.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ async def new_event(self):
self.thumbnail_layout = args["-tl"]
self.as_doc = args["-doc"]
self.as_med = args["-med"]
self.folder_name = f"/{args["-m"]}"
self.folder_name = f"/{args["-m"]}" if len(args["-m"]) > 0 else ""

is_bulk = args["-b"]

Expand Down

0 comments on commit 2212537

Please sign in to comment.