src/eric7/SystemUtilities/FileSystemUtilities.py

branch
eric7
changeset 9972
68ac01294544
parent 9944
011ae0edbcff
child 10108
0f4194acf75e
--- a/src/eric7/SystemUtilities/FileSystemUtilities.py	Wed Apr 05 11:58:22 2023 +0200
+++ b/src/eric7/SystemUtilities/FileSystemUtilities.py	Wed Apr 05 12:05:06 2023 +0200
@@ -630,10 +630,10 @@
 
     if OSUtilities.isWindowsPlatform():
         # we are on a Windows platform
-            for disk in "ABCDEFGHIJKLMNOPQRSTUVWXYZ":
-                dirpath = "{0}:\\".format(disk)
-                if os.path.exists(dirpath):
-                    mountedPaths.append(dirpath)
+        for disk in "ABCDEFGHIJKLMNOPQRSTUVWXYZ":
+            dirpath = "{0}:\\".format(disk)
+            if os.path.exists(dirpath):
+                mountedPaths.append(dirpath)
     else:
         # we are on a Linux or macOS platform
         mountPathStart = (

eric ide

mercurial