diff --git a/bin/lib/objects/ail_objects.py b/bin/lib/objects/ail_objects.py index eb6e84d1..ce2679d4 100755 --- a/bin/lib/objects/ail_objects.py +++ b/bin/lib/objects/ail_objects.py @@ -70,6 +70,8 @@ def sanitize_objs_types(objs, default=False): #### OBJECT #### def get_object(obj_type, subtype, obj_id): + if subtype == 'None': + subtype = None if not subtype: if obj_type == 'item': return Item(obj_id)