Move logo to img

This commit is contained in:
Alfredo Cardigliano 2023-01-25 11:55:44 +01:00
parent 4264ed4efd
commit 98228c6669
2 changed files with 2 additions and 2 deletions

View file

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Before After
Before After

4
python/examples/report.py Normal file → Executable file
View file

@ -226,7 +226,7 @@ pdf = FPDF()
pdf.add_page()
## LOGO
pdf.image("ntop.png", x=140, y=8, w=68.2, h=17.8)
pdf.image("img/ntop.png", x=140, y=8, w=68.2, h=17.8)
## HOST PC SPECS AND STATS ##
pdf.set_font("Helvetica", "B", 14)
@ -274,4 +274,4 @@ pdf.output(f"./report.pdf", "F")
for file in created_files:
delete_file(file)
delete_file(file)