From 3569498d5af7d57838a90418285b2c2e713eb365 Mon Sep 17 00:00:00 2001 From: terrtia Date: Thu, 12 Sep 2024 20:05:33 +0200 Subject: [PATCH] fix: [objects] get_object, None pgp name --- bin/lib/objects/ail_objects.py | 1 + 1 file changed, 1 insertion(+) 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)