mirror of https://gitlab.com/bashrc2/epicyon
Comment
parent
9db971cf65
commit
60b14d751f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue