summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
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;")