parent
70a30dc219
commit
f1e77995f5
1 changed files with 4 additions and 0 deletions
|
|
@ -236,6 +236,10 @@ def get_drives():
|
|||
drives.append(words[0])
|
||||
else:
|
||||
rootpath = "/media"
|
||||
if not os.path.isdir(rootpath):
|
||||
rootpath = "/run/media"
|
||||
if not os.path.isdir(rootpath):
|
||||
rootpath = "/opt/media"
|
||||
if sys.platform == "darwin":
|
||||
rootpath = "/Volumes"
|
||||
elif sys.platform == "linux":
|
||||
|
|
|
|||
Loading…
Reference in a new issue