diff options
-rw-r--r-- | lib/model.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/model.py b/lib/model.py index 5b2b418..9765274 100644 --- a/lib/model.py +++ b/lib/model.py @@ -598,7 +598,10 @@ class AnalyticModel: lut_model[name][k][param] = v.get_lut(param, use_mean=use_mean) def lut_median_getter(name, key, param, arg=list(), **kwargs): - param.extend(map(soft_cast_int, arg)) + if arg: + if type(param) is tuple: + param = list(param) + param.extend(map(soft_cast_int, arg)) param = tuple(param) try: return lut_model[name][key][param] |