summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorRich Kreider <rjkreider@gmail.com>2026-06-08 10:48:41 -0400
committerRich Kreider <rjkreider@gmail.com>2026-06-08 10:48:41 -0400
commit8a0d12776967844df9f3c58b460467ebe84d7aba (patch)
tree5e74f29e6cff6fdbd9c0d05e75bac3ec67f25d32 /main.py
parent7e0eafd5987e27ed8585aea8210caf4243142dfe (diff)
added additional SAQ questionnaires and fixed PDF export bug
Diffstat (limited to 'main.py')
-rw-r--r--main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.py b/main.py
index ad1d238..1265337 100644
--- a/main.py
+++ b/main.py
@@ -1055,7 +1055,7 @@ def export_pdf(fpath: str, session: dict, saq: dict, get_all_items):
story.append(Paragraph(
f'<font color="#283593"><b>[{item["id"]}]</b></font> {q_safe}', sty_q))
- hex_col = f"#{color.hexval():06x}"
+ hex_col = f"#{color.hexval()}"
status_line = f'<font color="{hex_col}"><b>Status: {status}</b></font>'
if notes:
n_safe = notes.replace("&","&amp;").replace("<","&lt;").replace(">","&gt;")