Skip to content

bug: FileAlreadyExistsError #1

@aviadr1

Description

@aviadr1

if the last file (i.e. fileName+"."+str(i+1)) already exists, os.rename will not overwrite it (at least not on windows machines)

os.rename(self.fileName+"."+str(i),self.fileName+"."+str(i+1))

therefore it is advisable to delete the last file before rotation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions