We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
rmdir --missing-okay
When issuing ampy rmdir directoryname/ --missing-okay, on a directory that doesn't exist, ampy still errors.
ampy rmdir directoryname/ --missing-okay
The problem seems to be this line, which checks for a very specific error string: https://github.com/scientifichackers/ampy/blob/master/ampy/files.py#L292
However, on the ESP32 version of MicroPython, that error string is just:
OSError: -2
The text was updated successfully, but these errors were encountered:
Same on me. --missing-okay not working.
--missing-okay
Sorry, something went wrong.
No branches or pull requests
When issuing
ampy rmdir directoryname/ --missing-okay
, on a directory that doesn't exist, ampy still errors.The problem seems to be this line, which checks for a very specific error string:
https://github.com/scientifichackers/ampy/blob/master/ampy/files.py#L292
However, on the ESP32 version of MicroPython, that error string is just:
The text was updated successfully, but these errors were encountered: