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

pull/9774/head
bashonly 1 year ago committed by GitHub
parent 7316fc5703
commit b3f1ef087a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -49,7 +49,7 @@ class MoveFilesAfterDownloadPP(PostProcessor):
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…
Cancel
Save