X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=m_librarian%2Finp.py;h=e16df6c5d91496d9f652e966084429737ce21a5e;hb=685d4f6a0b0ee8e5d4961c22fbc1781781089273;hp=a030ebc8993dfe65735d773291f085baf964a14b;hpb=d6ef04787834ffeded257d96af4c965ca7055a51;p=m_librarian.git diff --git a/m_librarian/inp.py b/m_librarian/inp.py index a030ebc..e16df6c 100644 --- a/m_librarian/inp.py +++ b/m_librarian/inp.py @@ -72,6 +72,7 @@ def import_inp(archive, inp): Select(Book.q.file, Book.q.archive == archive))): files.add(file) for line in inp: + line = line.decode('utf-8') parts = split_line(line) file = parts[5] if file not in files: