Update genbook.py

This commit is contained in:
Christian Clauss 2020-09-28 01:03:30 +02:00 committed by GitHub
parent 1eaee6a0a8
commit 558efebbff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,6 +2,7 @@
# -*- coding: utf-8 -*-
# vim:ts=4:sw=4:softtabstop=4:smarttab:expandtab
# Python 3 for calibre 5.0
from __future__ import print_function
class Unbuffered:
def __init__(self, stream):
@ -92,7 +93,7 @@ def getMetaArray(metaFile):
tag = readString(fo)
value = readString(fo)
result[tag] = value
# print tag, value
# print(tag, value)
fo.close()
return result