Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
zhougaofeng
magic_pdf
Commits
9edf3802
Commit
9edf3802
authored
Nov 13, 2024
by
zhougaofeng
Browse files
Update ofd_parser.py
parent
fef52eb3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
magic_pdf/tools/ofd_parser.py
magic_pdf/tools/ofd_parser.py
+2
-3
No files found.
magic_pdf/tools/ofd_parser.py
View file @
9edf3802
...
@@ -353,6 +353,5 @@ class OFDParser(object):
...
@@ -353,6 +353,5 @@ class OFDParser(object):
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
with
open
(
r
"E:\code\easyofd\test\增值税电子专票5.ofd"
,
"rb"
)
as
f
:
pass
ofdb64
=
str
(
base64
.
b64encode
(
f
.
read
()),
"utf-8"
)
print
(
OFDParser
(
ofdb64
)())
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