Trivial update

This commit is contained in:
Miroslav Stampar
2020-02-18 10:00:23 +01:00
parent 3f17dc4747
commit 5c82f30fd8
2 changed files with 2 additions and 2 deletions

View File

@@ -1221,7 +1221,7 @@ class Connect(object):
for name, value in variables.items():
if name != "__builtins__" and originals.get(name, "") != value:
if isinstance(value, (int, six.string_types)):
if isinstance(value, (int, float, six.string_types)):
found = False
value = getUnicode(value, UNICODE_ENCODING)