mirror of
https://github.com/pablorevilla-meshtastic/meshview.git
synced 2026-07-05 09:21:07 +02:00
Update web.py
Does it need a web.response>
This commit is contained in:
+3
-2
@@ -268,7 +268,8 @@ async def uplinked_list(request):
|
||||
else:
|
||||
portnum = None
|
||||
return await _packet_list(request, store.get_uplinked_packets(node_id, portnum), 'uplinked')
|
||||
|
||||
|
||||
# does this needs a web.response ?
|
||||
|
||||
async def _packet_list(request, raw_packets, packet_event):
|
||||
node_id = int(request.match_info["node_id"])
|
||||
@@ -1090,4 +1091,4 @@ async def run_server(bind, port, tls_cert):
|
||||
await site.start()
|
||||
|
||||
while True:
|
||||
await asyncio.sleep(3600) # sleep forever
|
||||
await asyncio.sleep(3600) # sleep forever
|
||||
|
||||
Reference in New Issue
Block a user