master
Bob Mottram 2019-08-09 10:14:31 +01:00
parent 9db971cf65
commit 60b14d751f
1 changed files with 2 additions and 0 deletions

View File

@ -242,6 +242,8 @@ def createPerson(baseDir: str,nickname: str,domain: str,port: int, \
if not validNickname(nickname):
return None,None,None,None
# If a config.json file doesn't exist then don't decrement
# remaining registrations counter
remainingConfigExists=getConfigParam(baseDir,'registrationsRemaining')
if remainingConfigExists:
registrationsRemaining=int(remainingConfigExists)