Working for pip and "normal" start for python3 and python2

This commit is contained in:
Ozzieisaacs
2019-06-02 09:33:45 +02:00
parent f5b335e8e9
commit bb0d5c5538
27 changed files with 114 additions and 91 deletions
+6 -6
View File
@@ -22,7 +22,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# opds routing functions
from cps import config, language_table, get_locale, app, ub, global_WorkerThread, db
from . import config, language_table, get_locale, app, ub, global_WorkerThread, db
from flask import request, flash, redirect, url_for, abort, Markup, Response
from flask import Blueprint
import datetime
@@ -30,14 +30,14 @@ import os
import json
from flask_babel import gettext as _
from uuid import uuid4
import helper
from helper import order_authors, common_filters
from . import helper
from .helper import order_authors, common_filters
from flask_login import current_user
from web import login_required_if_no_ano, render_title_template, edit_required, \
from .web import login_required_if_no_ano, render_title_template, edit_required, \
upload_required, login_required, EXTENSIONS_UPLOAD
import gdriveutils
from . import gdriveutils
from shutil import move, copyfile
import uploader
from . import uploader
from iso639 import languages as isoLanguages
editbook = Blueprint('editbook', __name__)