forked from MarseyWorld/MarseyWorld
fddf
parent
641537e392
commit
21753657a1
|
@ -127,7 +127,7 @@ def admin_home(v):
|
|||
@admin_level_required(6)
|
||||
@validate_formkey
|
||||
def disablesignups(v):
|
||||
with open('./disablesignups', 'wr') as f:
|
||||
with open('./disablesignups', 'r+') as f:
|
||||
if f.read() == "yes": f.write("no")
|
||||
else: f.write("yes")
|
||||
|
||||
|
|
Loading…
Reference in New Issue