The main changes are in the generate_filename method:
If number_padding is set to 0, the method generates a filename without a numerical suffix, using the prefix and extension only. If number_padding is greater than 0, the method uses the existing logic to generate a filename with a numerical suffix.
Issues Resolved:
Allows a delimiter below 2
Setting the delimiter to 0 removes the delimiter and allows overwrite.
The main changes are in the generate_filename method:
If number_padding is set to 0, the method generates a filename without a numerical suffix, using the prefix and extension only. If number_padding is greater than 0, the method uses the existing logic to generate a filename with a numerical suffix.
Issues Resolved: Allows a delimiter below 2 Setting the delimiter to 0 removes the delimiter and allows overwrite.