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:
|
||||
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):
|
||||
|
|
Loading…
Reference in a new issue