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' %}