mirror of
https://github.com/janeczku/calibre-web
synced 2025-10-28 05:47:43 +00:00
no need future module for python2
fix missing StringIO
This commit is contained in:
@@ -4,8 +4,10 @@
|
||||
from lxml import etree
|
||||
import os
|
||||
import uploader
|
||||
import StringIO
|
||||
|
||||
try:
|
||||
import StringIO
|
||||
except:
|
||||
from io import StringIO
|
||||
|
||||
def get_fb2_info(tmp_file_path, original_file_extension):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user