628 """ |
628 """ |
629 mountedPaths = [] |
629 mountedPaths = [] |
630 |
630 |
631 if OSUtilities.isWindowsPlatform(): |
631 if OSUtilities.isWindowsPlatform(): |
632 # we are on a Windows platform |
632 # we are on a Windows platform |
633 for disk in "ABCDEFGHIJKLMNOPQRSTUVWXYZ": |
633 for disk in "ABCDEFGHIJKLMNOPQRSTUVWXYZ": |
634 dirpath = "{0}:\\".format(disk) |
634 dirpath = "{0}:\\".format(disk) |
635 if os.path.exists(dirpath): |
635 if os.path.exists(dirpath): |
636 mountedPaths.append(dirpath) |
636 mountedPaths.append(dirpath) |
637 else: |
637 else: |
638 # we are on a Linux or macOS platform |
638 # we are on a Linux or macOS platform |
639 mountPathStart = ( |
639 mountPathStart = ( |
640 "/media/{0}/".format(OSUtilities.getUserName()) |
640 "/media/{0}/".format(OSUtilities.getUserName()) |
641 if OSUtilities.isLinuxPlatform() |
641 if OSUtilities.isLinuxPlatform() |