]> xmof Git - DeDRM.git/commitdiff
Update genbook.py
authorChristian Clauss <cclauss@me.com>
Sun, 27 Sep 2020 23:03:30 +0000 (01:03 +0200)
committerGitHub <noreply@github.com>
Sun, 27 Sep 2020 23:03:30 +0000 (01:03 +0200)
DeDRM_plugin/genbook.py

index 791bc5e309867e7c21ff20320aac64f4a8cdb3e8..fdf37074f99074868bd2a687894e2e868ca2c181 100644 (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