Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DisplayCAL/ccmx.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def convert_devicecorrections_to_ccmx(path: str, target_dir: str) -> tuple[int,
tuple[int, int]: A tuple containing the number of imported and skipped
entries.
"""
with open(path, "utf8") as devcorrections_file:
with open(path, encoding="utf8") as devcorrections_file:
lines = devcorrections_file.read().strip().splitlines()
# Convert to JSON
# The DeviceCorrections.txt format is as follows, so a conversion is pretty
Expand Down