From 90da6de43baef05cbb971380ff8e5eaa098ff75a Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 13 Nov 2019 12:49:40 +0000 Subject: [PATCH] Registration is boolean --- daemon.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index 76368054..b8587628 100644 --- a/daemon.py +++ b/daemon.py @@ -4511,7 +4511,10 @@ def runDaemon(registration: bool, \ httpd.systemLanguage=systemLanguage httpd.translate=loadJson(translationsFile) - httpd.registration=registration + if registration=='open': + httpd.registration=True + else: + httpd.registration=False httpd.outboxThread={} httpd.newPostThread={} httpd.projectVersion=projectVersion