# HG changeset patch # User Sebastien Jodogne # Date 1712076778 -7200 # Node ID 0dc47e4975dde3f14090f132cfbdf4d8221139d3 # Parent 685022ee236ca1b931d195253c320bba3e33e63d fix diff -r 685022ee236c -r 0dc47e4975dd Plugins/Worklists/Run.py --- a/Plugins/Worklists/Run.py Tue Apr 02 18:44:09 2024 +0200 +++ b/Plugins/Worklists/Run.py Tue Apr 02 18:52:58 2024 +0200 @@ -143,7 +143,7 @@ if not tag in ignoreTags: line_without_comment = re.sub(b'\s*#.*', b'', line) line_without_comment = line_without_comment.replace(b'\0', b'') - current.append(line_without_comment[4:]) + current.append(line_without_comment[3:]) if len(current) > 0: answers.append(current) @@ -159,7 +159,9 @@ for i in range(len(expected)): for j in range(len(actual)): - if expected[i] == actual[j]: + decoded = list(map(lambda x: x.decode('utf-8'), actual[j])) + + if expected[i] == decoded: return True return False