Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cloudooo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
cloudooo
Commits
751c8c55
Commit
751c8c55
authored
Jul 05, 2018
by
Boris Kocherov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use PyPDF2 instead pyPdf
parent
8d961729
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
cloudooo/handler/pdf/handler.py
cloudooo/handler/pdf/handler.py
+2
-2
setup.py
setup.py
+1
-1
No files found.
cloudooo/handler/pdf/handler.py
View file @
751c8c55
...
...
@@ -34,8 +34,8 @@ from cloudooo.util import logger, parseContentType
from
subprocess
import
Popen
,
PIPE
from
tempfile
import
mktemp
from
pyPdf
import
PdfFileWriter
,
PdfFileReader
from
pyPdf
.generic
import
NameObject
,
createStringObject
from
PyPDF2
import
PdfFileWriter
,
PdfFileReader
from
PyPDF2
.generic
import
NameObject
,
createStringObject
class
Handler
(
object
):
"""PDF Handler is used to handler inputed pdf document."""
...
...
setup.py
View file @
751c8c55
...
...
@@ -13,7 +13,7 @@ install_requires = [
'zope.interface'
,
'PasteDeploy'
,
'PasteScript'
,
'
pyPdf
'
,
'
PyPDF2>=1.26.0
'
,
'WSGIUtils'
,
'psutil>=3.0.0'
,
'lxml'
,
...
...
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