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

PO File cant be renamed on Windows when it exists already #4

Closed
jjaun opened this issue Jun 8, 2023 · 1 comment
Closed

PO File cant be renamed on Windows when it exists already #4

jjaun opened this issue Jun 8, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jjaun
Copy link

jjaun commented Jun 8, 2023

Error MEssage --> FileExistsError: [WinError 183]

FIX:

django-polyglot.py
Line 92 & Line 93 --> use os.replace insted of os.rename

Since Python 3.3, there is now a standard cross-platform solution, os.replace

@riccardoFasan riccardoFasan added the bug Something isn't working label Jun 12, 2023
@riccardoFasan riccardoFasan self-assigned this Jun 12, 2023
@riccardoFasan
Copy link
Owner

Hi, I made the fix and merged it. Thank you for the issue 😘!

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

2 participants