fix phid form upload
This commit is contained in:
parent
6f87005f18
commit
5d81db5b8c
|
@ -1519,6 +1519,7 @@ class UploadPlaceholderForm(FlaskForm):
|
||||||
self.path_snapshots = {}
|
self.path_snapshots = {}
|
||||||
for i in data['Phid'].keys():
|
for i in data['Phid'].keys():
|
||||||
placeholder = None
|
placeholder = None
|
||||||
|
data['Phid'][i] = str(data['Phid'][i])
|
||||||
if data['Phid'][i]:
|
if data['Phid'][i]:
|
||||||
placeholder = Placeholder.query.filter_by(phid=data['Phid'][i]).first()
|
placeholder = Placeholder.query.filter_by(phid=data['Phid'][i]).first()
|
||||||
|
|
||||||
|
|
Reference in New Issue