added copy for bool

This commit is contained in:
Ozbolt Menegatti 2020-06-11 18:16:44 +02:00
parent b24af95d5d
commit 6a2507a9c2

View File

@ -15,7 +15,12 @@ def copy(parent):
elif type(parent) is list:
return [copy(i) for i in parent]
elif type(parent) is int or type(parent) is float or type(parent) is str or parent is None:
elif type(parent) is int or \
type(parent) is float or \
type(parent) is str or \
type(parent) is bool or \
parent is None:
return parent
else: