mirror of
https://github.com/anasty17/mirror-leech-telegram-bot.git
synced 2025-01-07 03:26:46 +08:00
Fix file uplaod name (important)
fix #1777 Signed-off-by: anasty17 <e.anastayyar@gmail.com>
This commit is contained in:
parent
eda38a0ef0
commit
2212537739
@ -136,7 +136,7 @@ class Mirror(TaskListener):
|
||||
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"]
|
||||
|
@ -340,7 +340,7 @@ class YtDlp(TaskListener):
|
||||
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"]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user