mirror of
https://github.com/pablorevilla-meshtastic/meshview.git
synced 2026-08-07 01:12:54 +02:00
Add minutes support to the network graph.
This commit is contained in:
+2
-1
@@ -679,7 +679,8 @@ async def graph_network(request):
|
||||
root = request.query.get("root")
|
||||
depth = int(request.query.get("depth", 5))
|
||||
hours = int(request.query.get("hours", 24))
|
||||
since = datetime.timedelta(hours=hours)
|
||||
minutes = int(request.query.get("minutes", 0))
|
||||
since = datetime.timedelta(hours=hours, minutes=minutes)
|
||||
|
||||
nodes = {}
|
||||
node_ids = set()
|
||||
|
||||
Reference in New Issue
Block a user