master
Aevann1 2021-07-26 21:18:04 +02:00
parent 641537e392
commit 21753657a1
1 changed files with 1 additions and 1 deletions

View File

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