From f74bae1aa60a3ab5716da83a69013aa24c6ab12f Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Sat, 1 May 2021 19:06:40 +0200 Subject: [PATCH] ut8-threads (#1179) --- lib/threads/palette.py | 2 +- print/templates/index.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/threads/palette.py b/lib/threads/palette.py index 29d2a6dda..7a6bf153f 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") diff --git a/print/templates/index.html b/print/templates/index.html index d4244493b..612506c9e 100644 --- a/print/templates/index.html +++ b/print/templates/index.html @@ -11,6 +11,7 @@ {% endfor %} + {% include 'ui.html' %}