add Ods File as description in Placeholders Log
This commit is contained in:
parent
d08b93d3fd
commit
0ed523ca5c
|
@ -1517,6 +1517,9 @@ class UploadPlaceholderForm(FlaskForm):
|
|||
)
|
||||
data = data.fillna('').to_dict()
|
||||
return data
|
||||
else:
|
||||
if _file.content_type == 'application/vnd.oasis.opendocument.spreadsheet':
|
||||
self.source = "Ods File: {}".format(_file.filename)
|
||||
else:
|
||||
self.source = "Excel File: {}".format(_file.filename)
|
||||
try:
|
||||
|
|
Reference in New Issue