diff options
Diffstat (limited to 'tawindow.py')
-rw-r--r-- | tawindow.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tawindow.py b/tawindow.py index 57224f4..775c0c6 100644 --- a/tawindow.py +++ b/tawindow.py @@ -1837,9 +1837,9 @@ class TurtleArtWindow(): if btype in CONTENT_BLOCKS or btype in COLLAPSIBLE: if btype == 'number': try: - values = [int(value)] + values = [round_int(value)] except ValueError: - values = [float(value)] + values = [0] elif btype in COLLAPSIBLE: if value is not None: values = [int(value)] |