mirror of https://gitlab.com/bashrc2/epicyon
Check that registrations are open
parent
f20fcdb300
commit
0924a02ca8
|
@ -900,9 +900,10 @@ else:
|
||||||
|
|
||||||
# if this is the initial run then allow new registrations
|
# if this is the initial run then allow new registrations
|
||||||
if not getConfigParam(baseDir, 'registration'):
|
if not getConfigParam(baseDir, 'registration'):
|
||||||
setConfigParam(baseDir, 'registration', 'open')
|
if args.registration.lower() == 'open':
|
||||||
setConfigParam(baseDir, 'maxRegistrations', str(maxRegistrations))
|
setConfigParam(baseDir, 'registration', 'open')
|
||||||
setConfigParam(baseDir, 'registrationsRemaining', str(maxRegistrations))
|
setConfigParam(baseDir, 'maxRegistrations', str(maxRegistrations))
|
||||||
|
setConfigParam(baseDir, 'registrationsRemaining', str(maxRegistrations))
|
||||||
|
|
||||||
if args.resetregistrations:
|
if args.resetregistrations:
|
||||||
setConfigParam(baseDir, 'registrationsRemaining', str(maxRegistrations))
|
setConfigParam(baseDir, 'registrationsRemaining', str(maxRegistrations))
|
||||||
|
|
Loading…
Reference in New Issue