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)]