Use string format for export preview

This commit is contained in:
JonnyWong16 2020-09-26 20:44:02 -07:00
parent 068cb51635
commit adb11db317
No known key found for this signature in database
GPG key ID: B1F1F9807184697A

View file

@ -6562,7 +6562,7 @@ class WebInterface(object):
'td {box-shadow: inset 1px -1px #000;}' \
'th, td {padding: 3px; white-space: nowrap;}' \
'</style>'
return style + '<pre>%s</pre>' % table
return '{style}<pre>{table}</pre>'.format(style=style, table=table)
else:
if result and result.get('complete') == 0:
msg = 'Export is still being processed.'