Новости
=======
+Version 0.1.2 (2018-05-??)
+--------------------------
+
+* Исправлен импорт INPX: сделано декодирование имён файлов в юникод.
+
Version 0.1.1 (2018-05-17)
--------------------------
News
====
+Version 0.1.2 (2018-05-??)
+--------------------------
+
+* Fix inpx import: decode filenames to unicode.
+
Version 0.1.1 (2018-05-17)
--------------------------
connection = sqlhub.processConnection
for file, in connection.queryAll(connection.sqlrepr(
Select(Book.q.file, Book.q.archive == archive))):
- files.add((archive, file))
+ files.add((archive, file.decode('utf-8')))
for line in inp:
line = line.decode('utf-8')
_archive, parts = split_line(line)
archives.add(_archive)
for file, in connection.queryAll(connection.sqlrepr(
Select(Book.q.file, Book.q.archive == _archive))):
- files.add((_archive, file))
+ files.add((_archive, file.decode('utf-8')))
file = parts[5]
if (_archive or archive, file) not in files:
files.add((_archive or archive, file))