simplified
This commit is contained in:
parent
8884c5d29a
commit
b9b66fac45
|
@ -139,8 +139,7 @@ class Result:
|
||||||
datasets = ['*']
|
datasets = ['*']
|
||||||
elif datasets is False:
|
elif datasets is False:
|
||||||
datasets = []
|
datasets = []
|
||||||
choice = datasets if hasattr(datasets,'__iter__') and not isinstance(datasets,str) else \
|
choice = [datasets] if isinstance(datasets,str) else datasets.copy()
|
||||||
[datasets]
|
|
||||||
|
|
||||||
inc = 'inc' if self.version_minor < 12 else 'increment_' # compatibility hack
|
inc = 'inc' if self.version_minor < 12 else 'increment_' # compatibility hack
|
||||||
if what == 'increments':
|
if what == 'increments':
|
||||||
|
|
Loading…
Reference in New Issue