Fix file uplaod name (important)

fix #1777

Signed-off-by: anasty17 <e.anastayyar@gmail.com>
This commit is contained in:
anasty17 2024-10-09 21:24:19 +03:00
parent eda38a0ef0
commit 2212537739
No known key found for this signature in database
GPG Key ID: EAAC8A2DF2861DE4
2 changed files with 2 additions and 2 deletions

View File

@ -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"]

View File

@ -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"]