-
Notifications
You must be signed in to change notification settings - Fork 8
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
FileBrowser doesn't show networked drives on Windows #16
Comments
Thanks for the report and the fix, I am not using Windows so I was not aware of the issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a very easy fix:
About line 329 in FileBrowser.py, changed the line that reads
devices = psutil.disk_partitions()
to
devices = psutil.disk_partitions(all=True if OSNAME=="nt" else False)
Once this is done, mapped network drives on Windows show up properly. You don't want all=True on Linux, as that would get a bunch of non-useful items ('/sys/kernel/debug' and so on).
The text was updated successfully, but these errors were encountered: