remove debug

This commit is contained in:
Nico Schottelius 2019-12-16 21:44:45 +01:00
parent 66cb6cd293
commit 010ef68d91
1 changed files with 0 additions and 5 deletions

View File

@ -55,7 +55,6 @@ def get_player_name(address):
with open(fname, "r") as fd:
name = fd.readlines()
print(name)
return name[0].strip()
def save_player(name, address):
@ -74,7 +73,6 @@ def main():
name = get_player_name(address)
html.append("<li> {}@{}".format(name,address))
print(html)
return REGULAR_PAGE.format("\n".join(html))
else:
@ -83,9 +81,6 @@ def main():
save_player(name, address)
return redirect(url_for('main'))
# process post data
if __name__ == '__main__':
if not os.path.isdir(dir):