From: Christian Clauss Date: Sun, 27 Sep 2020 23:03:30 +0000 (+0200) Subject: Update genbook.py X-Git-Url: http://git.xmof.duckdns.org/?a=commitdiff_plain;h=558efebbff2ec591ef47911cca9eb550d6ccd343;p=DeDRM.git Update genbook.py --- diff --git a/DeDRM_plugin/genbook.py b/DeDRM_plugin/genbook.py index 791bc5e..fdf3707 100644 --- a/DeDRM_plugin/genbook.py +++ b/DeDRM_plugin/genbook.py @@ -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