Improved version, please test and comment
Hello, I have written a new version of this utility. I call it wd-security.py. It detects if a valid WD drive is present, its lock/unlock status. Contains some more stability fixes, GUI improvements.
Could you please test it and see how it works? Please let me know of errors. You can grab it here: https://github.com/electronicsguy/wdpassport-utils
Thanks for this. I do plan to take a look I just haven't had time right yet.
One thing I notice right off the bad is that there's a .pyc file committed. I can modify your commit to remove it though.
@funkypopcorn did you want to take a look as well? I typically use the CLI, so you might be a better one to see if this works how you'd expect, and if it could/should replace the current gui.
fixed. let me know if you had a chance to test it.