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