1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-10-02 23:47:08 +02:00

(merge conflict resolution) don't pass the dot to replace_extension

This commit is contained in:
bashonly 2024-07-08 05:11:49 +00:00 committed by GitHub
parent 7316fc5703
commit b3f1ef087a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -49,7 +49,7 @@ def determine_filepath(self, info_dict, relevant_dict, output_file_type):
else:
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):
if not current_filepath or not final_filepath: