projects
/
pymupdf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c5e18d
)
add additional import statement as otherwise you'd get:
author
Johannes 'josch' Schauer
<josch@debian.org>
Sun, 23 Aug 2020 19:15:38 +0000
(20:15 +0100)
committer
Bastian Germann
<bastiangermann@fishpost.de>
Sun, 23 Aug 2020 19:15:38 +0000
(20:15 +0100)
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "[...]/src/fitz/__init__.py", line 3, in <module>
from fitz.fitz import *
ModuleNotFoundError: No module named 'fitz.fitz'
Gbp-Pq: Name fiximport
fitz/__init__.py
patch
|
blob
|
history
diff --git
a/fitz/__init__.py
b/fitz/__init__.py
index e42df909c42d365fe9596a55aeb3775b69c2683f..fd3b7b207b3163410c962215510afec449d5cfaf 100644
(file)
--- a/
fitz/__init__.py
+++ b/
fitz/__init__.py
@@
-1,5
+1,6
@@
from __future__ import absolute_import, print_function
import sys
+import fitz.fitz as fitz
from fitz.fitz import *
# define the supported colorspaces for convenience