fix style

This commit is contained in:
Thomas Kriechbaumer 2016-06-03 18:57:46 +02:00
parent e31aa39fc2
commit 46d9cdd70a

View File

@ -161,6 +161,7 @@ class Flows(RequestHandler):
data=[_strip_content(f.get_state()) for f in self.state.flows] data=[_strip_content(f.get_state()) for f in self.state.flows]
)) ))
class DumpFlows(RequestHandler): class DumpFlows(RequestHandler):
def get(self): def get(self):
self.set_header("Content-Disposition", "attachment; filename=flows") self.set_header("Content-Disposition", "attachment; filename=flows")
@ -182,6 +183,7 @@ class DumpFlows(RequestHandler):
self.state.load_flows(FlowReader(bio).stream()) self.state.load_flows(FlowReader(bio).stream())
bio.close() bio.close()
class ClearAll(RequestHandler): class ClearAll(RequestHandler):
def post(self): def post(self):