summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-03-20 16:09:05 +0200
committerLars Wirzenius <liw@liw.fi>2021-03-20 16:09:05 +0200
commitee43b9db3375b4a528cd4b1609340c472a2cfd13 (patch)
tree1ef53e2a930bf27e5321ad41be1870d630030cce
parentf60dcbc2ffea57f9730187279d5f2c7eabe724e1 (diff)
downloadewww-ee43b9db3375b4a528cd4b1609340c472a2cfd13.tar.gz
fix: add missing filename keyword argument to stop_server
Subplot now passes cleanup functions same arguments as the step function.
-rw-r--r--subplot/ewww.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/subplot/ewww.py b/subplot/ewww.py
index f1e02e3..e30c219 100644
--- a/subplot/ewww.py
+++ b/subplot/ewww.py
@@ -76,7 +76,7 @@ def start_server(ctx, filename=None):
# Stop previously started server.
-def stop_server(ctx):
+def stop_server(ctx, filename=None):
daemon_stop = globals()["daemon_stop"]
logging.debug("Stopping ewww")
daemon_stop(ctx, name="ewww")