dcoker/awsmfa

Does not work on windows

Closed this issue · 3 comments

Was trying this out and noticed it will not work on windows due to the os.rename.

File "C:\Python27\lib\site-packages\awsmfa__main__.py", line 378, in update_credentials_file
os.rename(temp_credentials_file, filename)
WindowsError: [Error 183] Cannot create a file when that file already exists

I can put in a PR if you'd like just let me know.

Hi Enderv! Thanks for reporting this issue. I will gladly review a PR to make awsmfa work with Windows. Thanks!

Fixed in #3. Thanks, enderv!

And thank you! This tool has been incredibly helpful!

On Jul 28, 2016 9:02 PM, "Doug" notifications@github.com wrote:

Fixed in #3 #3. Thanks, enderv!


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#2 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADE8Vca8Pe63clsJB8n1NWCoiyndZdcAks5qaV8ygaJpZM4JSYrZ
.