Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
douban-api-proxy
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
captainwong
douban-api-proxy
Commits
b7de23e8
Commit
b7de23e8
authored
Jan 10, 2021
by
Ozzie Isaacs
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'fix/unused_imports' into master
parents
f358f78d
b8ab6636
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
3 additions
and
6 deletions
+3
-6
cps.py
cps.py
+1
-1
helper.py
cps/helper.py
+1
-1
kobo.py
cps/kobo.py
+0
-1
kobo_auth.py
cps/kobo_auth.py
+0
-1
oauth_bb.py
cps/oauth_bb.py
+0
-1
web.py
cps/web.py
+1
-1
No files found.
cps.py
View file @
b7de23e8
...
...
@@ -31,7 +31,7 @@ else:
sys
.
path
.
append
(
os
.
path
.
join
(
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
)),
'vendor'
))
from
cps
import
create_app
,
config
from
cps
import
create_app
from
cps
import
web_server
from
cps.opds
import
opds
from
cps.web
import
web
...
...
cps/helper.py
View file @
b7de23e8
...
...
@@ -32,7 +32,7 @@ from tempfile import gettempdir
import
requests
from
babel.dates
import
format_datetime
from
babel.units
import
format_unit
from
flask
import
send_from_directory
,
make_response
,
redirect
,
abort
,
url_for
,
send_file
from
flask
import
send_from_directory
,
make_response
,
redirect
,
abort
,
url_for
from
flask_babel
import
gettext
as
_
from
flask_login
import
current_user
from
sqlalchemy.sql.expression
import
true
,
false
,
and_
,
text
...
...
cps/kobo.py
View file @
b7de23e8
...
...
@@ -43,7 +43,6 @@ from flask_login import current_user
from
werkzeug.datastructures
import
Headers
from
sqlalchemy
import
func
from
sqlalchemy.sql.expression
import
and_
,
or_
from
sqlalchemy.exc
import
OperationalError
from
sqlalchemy.orm
import
load_only
from
sqlalchemy.exc
import
StatementError
import
requests
...
...
cps/kobo_auth.py
View file @
b7de23e8
...
...
@@ -66,7 +66,6 @@ from os import urandom
from
flask
import
g
,
Blueprint
,
url_for
,
abort
,
request
from
flask_login
import
login_user
,
login_required
from
flask_babel
import
gettext
as
_
from
sqlalchemy.exc
import
OperationalError
from
.
import
logger
,
ub
,
lm
from
.render_template
import
render_title_template
...
...
cps/oauth_bb.py
View file @
b7de23e8
...
...
@@ -32,7 +32,6 @@ from flask_dance.contrib.github import make_github_blueprint, github
from
flask_dance.contrib.google
import
make_google_blueprint
,
google
from
flask_login
import
login_user
,
current_user
,
login_required
from
sqlalchemy.orm.exc
import
NoResultFound
from
sqlalchemy.exc
import
OperationalError
from
.
import
constants
,
logger
,
config
,
app
,
ub
...
...
cps/web.py
View file @
b7de23e8
...
...
@@ -47,7 +47,7 @@ from werkzeug.security import generate_password_hash, check_password_hash
from
.
import
constants
,
logger
,
isoLanguages
,
services
from
.
import
babel
,
db
,
ub
,
config
,
get_locale
,
app
from
.
import
calibre_db
,
shelf
from
.
import
calibre_db
from
.gdriveutils
import
getFileFromEbooksFolder
,
do_gdrive_download
from
.helper
import
check_valid_domain
,
render_task_status
,
\
get_cc_columns
,
get_book_cover
,
get_download_link
,
send_mail
,
generate_random_password
,
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment