From c82f6c7f49b4c9681dea46eda8137ecd713ac981 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 28 Jun 2019 22:07:21 +0100 Subject: [PATCH] Default value --- daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index 43064692..4f655380 100644 --- a/daemon.py +++ b/daemon.py @@ -174,7 +174,7 @@ class PubServer(BaseHTTPRequestHandler): self._set_headers('application/json') self.wfile.write(json.dumps(message).encode('utf-8')) -def runDaemon(domain: str,port=80,fedList,useTor=False) -> None: +def runDaemon(domain: str,port=80,fedList=[],useTor=False) -> None: global thisDomain global federationList thisDomain=domain