Skip to content

Commit ab3ac68

Browse files
committed
Minor fix for limits validation
1 parent 41a58e2 commit ab3ac68

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

psy_simple/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def validate_limits(value):
228228
return (value, value)
229229
if not len(value) == 2:
230230
raise ValueError("Limits must have length 2!")
231-
return list(value)
231+
return tuple(value)
232232

233233

234234
def validate_none(b):

0 commit comments

Comments
 (0)