This commit is contained in:
Kovid Goyal 2019-04-01 15:15:48 +05:30
parent 305a1bab29
commit ff79cf7113
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -6,7 +6,10 @@
import hashlib
import re
import time
from Queue import Empty, Queue
try:
from queue import Empty, Queue
except ImportError:
from Queue import Empty, Queue
from calibre import as_unicode
from calibre.ebooks.chardet import xml_to_unicode