Skip to content
Snippets Groups Projects
Unverified Commit bdcf9d13 authored by Daniel Hornung's avatar Daniel Hornung
Browse files

FIX: Linting led to mistake.

parent 39c9e3e7
No related branches found
No related tags found
1 merge request!226spss value label name
Pipeline #64840 passed
......@@ -636,7 +636,7 @@ class Converter(object, metaclass=ABCMeta):
tr_func = transformer_functions[tr_func_key]
# Call the function:
sig = signature(tr_func)
if len(sig.parameters) == 1 and tr_func_params:
if len(sig.parameters) == 1 and not tr_func_params: # FIXME Test for this line.
out_value = tr_func(in_value)
else:
out_value = tr_func(in_value, tr_func_params)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment