1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
From: Antonio Terceiro <terceiro@debian.org>
Date: Mon, 10 Jun 2024 19:37:03 -0300
Subject: datastore: fix loading color for saved search
This code is not present in the current upstream git, so there is no
point in forwarding this patch.
Forwarded: not-needed
---
GTG/core/datastore.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/GTG/core/datastore.py b/GTG/core/datastore.py
index eb4a7d3..a735240 100644
--- a/GTG/core/datastore.py
+++ b/GTG/core/datastore.py
@@ -272,7 +272,7 @@ class DataStore():
tag_attrs = {}
if color:
- tag_attrs['color'] = color
+ tag_attrs['color'] = '#' + color
if icon:
tag_attrs['icon'] = icon
|