From 327b55ed5ca65c8539d8c121f1bfca74179c4e22 Mon Sep 17 00:00:00 2001 From: Mickus Timothee Date: Fri, 22 Mar 2024 20:52:13 +0200 Subject: [PATCH] flake8 --- mammoth/translate/translation_server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mammoth/translate/translation_server.py b/mammoth/translate/translation_server.py index 75284bbd..d96bc784 100644 --- a/mammoth/translate/translation_server.py +++ b/mammoth/translate/translation_server.py @@ -408,8 +408,8 @@ def parse_opt(self, opts): if type(v) is str: sys.argv += ['-transforms', v] else: - assert type(v) is list - sys.argv += ['-transforms', *v] + assert type(v) is list + sys.argv += ['-transforms', *v] else: sys.argv += ['-%s' % k, str(v)]