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
b081bc86
Commit
b081bc86
authored
Mar 12, 2017
by
OzzieIsaacs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #157
parent
16cac6ac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
web.py
cps/web.py
+3
-4
No files found.
cps/web.py
View file @
b081bc86
...
@@ -51,19 +51,18 @@ try:
...
@@ -51,19 +51,18 @@ try:
from
urllib.parse
import
quote
from
urllib.parse
import
quote
from
imp
import
reload
from
imp
import
reload
from
past.builtins
import
xrange
from
past.builtins
import
xrange
except
ImportError
as
e
:
except
ImportError
:
from
urllib
import
quote
from
urllib
import
quote
try
:
try
:
from
flask_login
import
__version__
as
flask_loginVersion
from
flask_login
import
__version__
as
flask_loginVersion
except
ImportError
,
e
:
except
ImportError
:
from
flask_login.__about__
import
__version__
as
flask_loginVersion
from
flask_login.__about__
import
__version__
as
flask_loginVersion
try
:
try
:
from
wand.image
import
Image
from
wand.image
import
Image
use_generic_pdf_cover
=
False
use_generic_pdf_cover
=
False
except
ImportError
as
e
:
except
ImportError
:
use_generic_pdf_cover
=
True
use_generic_pdf_cover
=
True
from
cgi
import
escape
from
cgi
import
escape
...
...
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