Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
aa.gusti
/
opensipkd-tools
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 39e0c731
authored
Jun 15, 2022
by
aagusti
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
perbaikan report
1 parent
0662bfec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
opensipkd/tools/report.py
opensipkd/tools/report.py
View file @
39e0c73
...
...
@@ -4,7 +4,7 @@ import ntpath
import
csv
import
io
from
datetime
import
datetime
from
z3c.rml
import
rml2pdf
#
from z3c.rml import rml2pdf
import
subprocess
import
logging
from
..tools
import
get_settings
,
get_params
...
...
@@ -51,7 +51,9 @@ def open_rml_pdf(tpl_filename, **kwargs):
params
[
key
]
=
value
rml
=
rml
.
format
(
waktu
=
waktu
(),
logo
=
logo
,
line
=
line
,
**
kwargs
)
line
=
line
,
**
kwargs
)
from
z3c.rml
import
rml2pdf
pdf
=
rml2pdf
.
parseString
(
rml
)
return
pdf
,
pdf_filename
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment