mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-05-02 03:51:29 +00:00
Merge remote-tracking branch 'origin/develop' into xap
This commit is contained in:
commit
c1b74164b7
@ -219,6 +219,9 @@ def get_drives():
|
|||||||
tmp = rootpath + "/" + os.environ["USER"]
|
tmp = rootpath + "/" + os.environ["USER"]
|
||||||
if os.path.isdir(tmp):
|
if os.path.isdir(tmp):
|
||||||
rootpath = tmp
|
rootpath = tmp
|
||||||
|
tmp = "/run" + rootpath + "/" + os.environ["USER"]
|
||||||
|
if os.path.isdir(tmp):
|
||||||
|
rootpath = tmp
|
||||||
for d in os.listdir(rootpath):
|
for d in os.listdir(rootpath):
|
||||||
drives.append(os.path.join(rootpath, d))
|
drives.append(os.path.join(rootpath, d))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user