diff options
Diffstat (limited to 'lib/threads')
| -rw-r--r-- | lib/threads/palette.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/threads/palette.py b/lib/threads/palette.py index f1ff6cb4..29d2a6dd 100644 --- a/lib/threads/palette.py +++ b/lib/threads/palette.py @@ -62,7 +62,7 @@ class ThreadPalette(Set): thread = ThreadColor(thread_color, thread_name, thread_number, manufacturer=self.name) self.threads[thread] = convert_color(sRGBColor(*thread_color, is_upscaled=True), LabColor) - except ValueError: + except (ValueError, IndexError): continue def __contains__(self, thread): |
