Skip to content

Commit a987824

Browse files
cjames23zooba
andauthored
Update Lib/mimetypes.py
Co-authored-by: Steve Dower <steve.dower@microsoft.com>
1 parent f3b14c4 commit a987824

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎Lib/mimetypes.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@
4242
"suffix_map", "encodings_map", "types_map", "common_types"
4343
]
4444

45-
# These paths resolve against the root of the current drive on Windows
46-
# (e.g. C:\etc\mime.types), which unprivileged users can usually create.
47-
# Only the registry is used by default.
4845
if sys.platform == "win32":
46+
# The default paths would resolve to the root of the current drive on Windows
47+
# (e.g. C:\etc\mime.types), which unprivileged users can usually create.
48+
# Only the registry is used by default.
4949
knownfiles = []
5050
else:
5151
knownfiles = [

0 commit comments

Comments
 (0)