Registration is boolean

merge-requests/3/merge
Bob Mottram 2019-11-13 12:49:40 +00:00
parent 4b5ddf1d48
commit 90da6de43b
1 changed files with 4 additions and 1 deletions

View File

@ -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