Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Curtail 1.11.1 no longer delete temp file in non-safe mode (overwritten original file mode) #258

Open
archerallstars opened this issue Oct 24, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@archerallstars
Copy link

When I turned off safe mode and compress any file, the original file will be renamed, for example, image.png > .image.png.temp. However, the temp file .image.png.temp is never be deleted after the operation.

The last known working version on my side is 1.10.0.

Debug info:

Python: 3.12.6

Gtk: 4.16.3

Jpegoptim: 1.5.5

Oxipng: 9.1.1

pngquant: 2.18.0

Libwebp: 1.4.0

Scour: 0.38.2
@archerallstars archerallstars changed the title Curtail 1.11.1 can no longer delete temp file in non-safe mode (overwritten original file) Curtail 1.11.1 no longer delete temp file in non-safe mode (overwritten original file mode) Oct 24, 2024
@Huluti
Copy link
Owner

Huluti commented Oct 24, 2024

@ARAKHN1D can you take a look by chance?

@ARAKHN1D
Copy link

Yes, will do.

@ARAKHN1D
Copy link

Based on my testing, I think this should be fixed by #254. I could also make another PR to fix only this, if that's wanted.

@Huluti Huluti added the bug Something isn't working label Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants