1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
Description: Fix syntaxwarning at package installation.
Author: Pieter Lenaerts <plenae@disroot.org>
Bug-Debian: https://bugs.debian.org/1085746
Forwarded: https://gitlab.gnome.org/GNOME/ocrfeeder/-/merge_requests/26
Last-Update: 2025-11-10
--- a/src/ocrfeeder/util/configuration.py
+++ b/src/ocrfeeder/util/configuration.py
@@ -187,7 +187,7 @@
def __getColorFromString(self, color):
if type(color) != str:
return color
- color_list = [value.strip('()\ ') for value in color.split(',')]
+ color_list = [value.strip('()\\ ') for value in color.split(',')]
try:
int_color_list = [int(value) for value in color_list]
except ValueError as exception:
|