Remove redundant default value

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
This commit is contained in:
Jakub Trllo 2025-07-24 12:40:59 +02:00 committed by GitHub
parent 583dae949d
commit a4ec6c4a77
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -545,7 +545,7 @@ def save_next_version(
elif last_workfile is not None:
ext = os.path.splitext(last_workfile.filepath)[1]
else:
ext = next(iter(workfile_extensions), None)
ext = next(iter(workfile_extensions))
ext = ext.lstrip(".")
if ext: