remove debug
This commit is contained in:
parent
66cb6cd293
commit
010ef68d91
1 changed files with 0 additions and 5 deletions
|
@ -55,7 +55,6 @@ def get_player_name(address):
|
||||||
with open(fname, "r") as fd:
|
with open(fname, "r") as fd:
|
||||||
name = fd.readlines()
|
name = fd.readlines()
|
||||||
|
|
||||||
print(name)
|
|
||||||
return name[0].strip()
|
return name[0].strip()
|
||||||
|
|
||||||
def save_player(name, address):
|
def save_player(name, address):
|
||||||
|
@ -74,7 +73,6 @@ def main():
|
||||||
name = get_player_name(address)
|
name = get_player_name(address)
|
||||||
html.append("<li> {}@{}".format(name,address))
|
html.append("<li> {}@{}".format(name,address))
|
||||||
|
|
||||||
print(html)
|
|
||||||
return REGULAR_PAGE.format("\n".join(html))
|
return REGULAR_PAGE.format("\n".join(html))
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
@ -83,9 +81,6 @@ def main():
|
||||||
save_player(name, address)
|
save_player(name, address)
|
||||||
return redirect(url_for('main'))
|
return redirect(url_for('main'))
|
||||||
|
|
||||||
# process post data
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
if not os.path.isdir(dir):
|
if not os.path.isdir(dir):
|
||||||
|
|
Loading…
Reference in a new issue