mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-10-03 07:57:10 +02:00
(merge conflict resolution) don't pass the dot to replace_extension
This commit is contained in:
parent
7316fc5703
commit
b3f1ef087a
@ -49,7 +49,7 @@ def determine_filepath(self, info_dict, relevant_dict, output_file_type):
|
|||||||
else:
|
else:
|
||||||
desired_extension = Path(current_filepath).suffix
|
desired_extension = Path(current_filepath).suffix
|
||||||
|
|
||||||
return current_filepath, replace_extension(prepared_filepath, desired_extension)
|
return current_filepath, replace_extension(prepared_filepath, desired_extension[1:])
|
||||||
|
|
||||||
def move_file(self, info_dict, current_filepath, final_filepath):
|
def move_file(self, info_dict, current_filepath, final_filepath):
|
||||||
if not current_filepath or not final_filepath:
|
if not current_filepath or not final_filepath:
|
||||||
|
Loading…
Reference in New Issue
Block a user