diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2021-05-01 19:06:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-01 19:06:40 +0200 |
| commit | f74bae1aa60a3ab5716da83a69013aa24c6ab12f (patch) | |
| tree | e529105a288327ec30af905257d84ffcee3b9c21 /lib | |
| parent | 77a1ad3830b684dfa95b2f5a7bb643581397a43d (diff) | |
ut8-threads (#1179)
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/threads/palette.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/threads/palette.py b/lib/threads/palette.py index 29d2a6dd..7a6bf153 100644 --- a/lib/threads/palette.py +++ b/lib/threads/palette.py @@ -38,7 +38,7 @@ class ThreadPalette(Set): """ - with open(palette_file) as palette: + with open(palette_file, encoding='utf8') as palette: line = palette.readline().strip() if line.lower() != "gimp palette": raise ValueError("Invalid gimp palette header") |
