We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccc964d commit 866473fCopy full SHA for 866473f
fileformats/core/fs_mount_identifier.py
@@ -82,7 +82,7 @@ def generate_mount_table(cls) -> ty.List[ty.Tuple[str, str]]:
82
"""
83
if platform.system() == "Windows":
84
drive_names = [
85
- "%s:" % d for d in string.ascii_uppercase if os.path.exists("%s:" % d)
+ c + ":" for c in string.ascii_uppercase if os.path.exists(c + ":")
86
]
87
drives = []
88
for drive_name in drive_names:
0 commit comments