Skip to content

FileBrowser doesn't show networked drives on Windows #16

@ivanlan9

Description

@ivanlan9

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions