From 7181b82ad71735b0f082481fbaba27714b7eb607 Mon Sep 17 00:00:00 2001 From: Hydrus Network Developer Date: Wed, 22 Mar 2017 20:00:00 -0500 Subject: [PATCH] Version 248a Quick fix for I believe users with very old clients that store colour in an old way --- include/ClientGUIListBoxes.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/ClientGUIListBoxes.py b/include/ClientGUIListBoxes.py index 5feccc79..3049a89e 100644 --- a/include/ClientGUIListBoxes.py +++ b/include/ClientGUIListBoxes.py @@ -1410,6 +1410,8 @@ class ListBoxTagsColourOptions( ListBoxTags ): for ( namespace, colour ) in initial_namespace_colours.items(): + colour = tuple( colour ) # tuple to convert from list, for oooold users who have list colours + self._AppendTerm( ( namespace, colour ) ) @@ -1467,6 +1469,8 @@ class ListBoxTagsColourOptions( ListBoxTags ): def SetNamespaceColour( self, namespace, colour ): + colour = tuple( colour ) + for ( existing_namespace, existing_colour ) in self._terms: if existing_namespace == namespace: