~ruther/qmk_firmware

a98f69850f6f9a15072122c32e6679e2dc49321a — Joel Challis 3 years ago e5a15f4
Also check /run/media/ for uf2 drives (#17517)

1 files changed, 3 insertions(+), 0 deletions(-)

M util/uf2conv.py
M util/uf2conv.py => util/uf2conv.py +3 -0
@@ 219,6 219,9 @@ def get_drives():
            tmp = rootpath + "/" + os.environ["USER"]
            if os.path.isdir(tmp):
                rootpath = tmp
            tmp = "/run" + rootpath + "/" + os.environ["USER"]
            if os.path.isdir(tmp):
                rootpath = tmp
        for d in os.listdir(rootpath):
            drives.append(os.path.join(rootpath, d))