fix phid form upload

This commit is contained in:
Cayo Puigdefabregas 2022-08-05 15:50:03 +02:00
parent 6f87005f18
commit 5d81db5b8c
1 changed files with 1 additions and 0 deletions

View File

@ -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()