misc: let |rename_file works with missing source filename (#86331) #1087
Loading…
Reference in New Issue
No description provided.
Delete Branch "wip/86328-rename-against-empty-filename"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
cefade2398
to82b410cae1
@ -1076,0 +1075,4 @@
if file_object.base_filename:
new_name = os.path.splitext(new_name)[0] + os.path.splitext(file_object.base_filename)[1]
else:
new_name = new_name.removesuffix('.$ext')
S'il n'y avait pas de nom à la base on ne peut pas en conserver l'extension, donc tant pis, on crée utiliser juste le nom sans extension.
WIP: misc: let |rename_file works with missing source filename (#86328)to misc: let |rename_file works with missing source filename (#86328)misc: let |rename_file works with missing source filename (#86328)to misc: let |rename_file works with missing source filename (#86331)82b410cae1
to37c5f7d6f3