Update options.py

pull/106/head
v-masterman 6 years ago committed by GitHub
parent 82886f3fe5
commit 1035c22675
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -454,7 +454,7 @@ if form.getvalue('metrics'):
df.sort_index(inplace=True)
source = ColumnDataSource(df)
output_file("templates/metrics_out.html")
output_file("templates/metrics_out.html", mode='inline')
x_min = df.index.min() - pd.Timedelta(hours=1)
x_max = df.index.max() + pd.Timedelta(minutes=1)
@ -528,7 +528,7 @@ if form.getvalue('waf_metrics'):
df.sort_index(inplace=True)
source = ColumnDataSource(df)
output_file("templates/metrics_waf_out.html")
output_file("templates/metrics_waf_out.html", mode='inline')
x_min = df.index.min() - pd.Timedelta(hours=1)
x_max = df.index.max() + pd.Timedelta(minutes=1)
@ -645,4 +645,4 @@ if form.getvalue('get_ldap_email'):
except:
print('error: user not found')
finally:
l.unbind()
l.unbind()

Loading…
Cancel
Save