fix LANServer dns rebinding crashing because of old kwarg format

This commit is contained in:
Kevin Froman 2020-08-20 20:03:11 -05:00
parent fd73f63ecd
commit bbc9646a25

View File

@ -61,7 +61,7 @@ class LANServer:
@app.route('/blist/<time>') @app.route('/blist/<time>')
def get_block_list_for_lan(time): def get_block_list_for_lan(time):
return Response('\n'.join(get_block_list(dateRec=time))) return Response('\n'.join(get_block_list(date_rec=time)))
@app.route('/get/<block>') @app.route('/get/<block>')
def get_block_data(block): def get_block_data(block):