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
cd577315
Commit
cd577315
authored
Oct 31, 2020
by
Ozzieisaacs
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'sec_fixes/unused_imports' into master
parents
37a80b93
19b2a334
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
4 additions
and
8 deletions
+4
-8
config_sql.py
cps/config_sql.py
+0
-1
converter.py
cps/converter.py
+0
-1
editbooks.py
cps/editbooks.py
+0
-1
helper.py
cps/helper.py
+1
-1
jinjia.py
cps/jinjia.py
+0
-1
kobo.py
cps/kobo.py
+1
-1
convert.py
cps/tasks/convert.py
+1
-1
web.py
cps/web.py
+1
-1
No files found.
cps/config_sql.py
View file @
cd577315
...
...
@@ -19,7 +19,6 @@
from
__future__
import
division
,
print_function
,
unicode_literals
import
os
import
json
import
sys
from
sqlalchemy
import
exc
,
Column
,
String
,
Integer
,
SmallInteger
,
Boolean
,
BLOB
,
JSON
...
...
cps/converter.py
View file @
cd577315
...
...
@@ -19,7 +19,6 @@
from
__future__
import
division
,
print_function
,
unicode_literals
import
os
import
re
import
sys
from
flask_babel
import
gettext
as
_
from
.
import
config
,
logger
...
...
cps/editbooks.py
View file @
cd577315
...
...
@@ -27,7 +27,6 @@ import json
from
shutil
import
copyfile
from
uuid
import
uuid4
from
babel
import
Locale
as
LC
from
flask
import
Blueprint
,
request
,
flash
,
redirect
,
url_for
,
abort
,
Markup
,
Response
from
flask_babel
import
gettext
as
_
from
flask_login
import
current_user
,
login_required
...
...
cps/helper.py
View file @
cd577315
...
...
@@ -35,7 +35,7 @@ from babel.units import format_unit
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
,
func
from
sqlalchemy.sql.expression
import
true
,
false
,
and_
,
text
from
werkzeug.datastructures
import
Headers
from
werkzeug.security
import
generate_password_hash
from
.
import
calibre_db
...
...
cps/jinjia.py
View file @
cd577315
...
...
@@ -25,7 +25,6 @@
from
__future__
import
division
,
print_function
,
unicode_literals
import
datetime
import
mimetypes
import
re
from
babel.dates
import
format_date
from
flask
import
Blueprint
,
request
,
url_for
...
...
cps/kobo.py
View file @
cd577315
...
...
@@ -39,7 +39,7 @@ from flask import (
redirect
,
abort
)
from
flask_login
import
current_user
,
login_required
from
flask_login
import
current_user
from
werkzeug.datastructures
import
Headers
from
sqlalchemy
import
func
from
sqlalchemy.sql.expression
import
and_
,
or_
...
...
cps/tasks/convert.py
View file @
cd577315
...
...
@@ -8,7 +8,7 @@ from shutil import copyfile
from
sqlalchemy.exc
import
SQLAlchemyError
from
cps.services.worker
import
CalibreTask
,
STAT_FINISH_SUCCESS
from
cps.services.worker
import
CalibreTask
from
cps
import
calibre_db
,
db
from
cps
import
logger
,
config
from
cps.subproc_wrapper
import
process_open
...
...
cps/web.py
View file @
cd577315
...
...
@@ -41,7 +41,7 @@ from flask_login import login_user, logout_user, login_required, current_user, c
from
sqlalchemy.exc
import
IntegrityError
,
InvalidRequestError
,
OperationalError
from
sqlalchemy.sql.expression
import
text
,
func
,
true
,
false
,
not_
,
and_
,
or_
from
sqlalchemy.orm.attributes
import
flag_modified
from
werkzeug.exceptions
import
default_exceptions
,
InternalServerError
from
werkzeug.exceptions
import
default_exceptions
from
sqlalchemy.sql.functions
import
coalesce
from
.services.worker
import
WorkerThread
...
...
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