From 5d81db5b8cbbce7c0bf929749fec27d113e3a56c Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Fri, 5 Aug 2022 15:50:03 +0200 Subject: [PATCH] fix phid form upload --- ereuse_devicehub/inventory/forms.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ereuse_devicehub/inventory/forms.py b/ereuse_devicehub/inventory/forms.py index 969df88c..bea383f4 100644 --- a/ereuse_devicehub/inventory/forms.py +++ b/ereuse_devicehub/inventory/forms.py @@ -1519,6 +1519,7 @@ class UploadPlaceholderForm(FlaskForm): self.path_snapshots = {} for i in data['Phid'].keys(): placeholder = None + data['Phid'][i] = str(data['Phid'][i]) if data['Phid'][i]: placeholder = Placeholder.query.filter_by(phid=data['Phid'][i]).first()