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
a7da6d21
Commit
a7da6d21
authored
Jan 17, 2021
by
Ozzie Isaacs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added hint for python 2
parent
59a41dc8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
__init__.py
cps/__init__.py
+3
-0
setup.cfg
setup.cfg
+0
-1
No files found.
cps/__init__.py
View file @
a7da6d21
...
@@ -99,6 +99,9 @@ def create_app():
...
@@ -99,6 +99,9 @@ def create_app():
cache_buster
.
init_cache_busting
(
app
)
cache_buster
.
init_cache_busting
(
app
)
log
.
info
(
'Starting Calibre Web...'
)
log
.
info
(
'Starting Calibre Web...'
)
if
sys
.
version_info
<
(
3
,
0
):
log
.
info
(
'Python2 is EOL since end of 2020, this version of Calibre-Web supporting Python2 please consider upgrading to Python3'
)
print
(
'Python2 is EOL since end of 2020, this version of Calibre-Web supporting Python2 please consider upgrading to Python3'
)
Principal
(
app
)
Principal
(
app
)
lm
.
init_app
(
app
)
lm
.
init_app
(
app
)
app
.
secret_key
=
os
.
getenv
(
'SECRET_KEY'
,
config_sql
.
get_flask_session_key
(
ub
.
session
))
app
.
secret_key
=
os
.
getenv
(
'SECRET_KEY'
,
config_sql
.
get_flask_session_key
(
ub
.
session
))
...
...
setup.cfg
View file @
a7da6d21
...
@@ -20,7 +20,6 @@ license_file = LICENSE
...
@@ -20,7 +20,6 @@ license_file = LICENSE
classifiers =
classifiers =
Development Status :: 5 - Production/Stable
Development Status :: 5 - Production/Stable
License :: OSI Approved :: GNU Affero General Public License v3
License :: OSI Approved :: GNU Affero General Public License v3
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.5
...
...
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