added copy for bool

pull/1/head
Ozbolt Menegatti 4 years ago
parent b24af95d5d
commit 6a2507a9c2

@ -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:

Loading…
Cancel
Save