mirror of
https://github.com/cwinfo/yggdrasil-map
synced 2025-08-14 15:58:10 +00:00
Graph sending script
This commit is contained in:
9
web/graphData.py
Normal file
9
web/graphData.py
Normal file
@@ -0,0 +1,9 @@
|
||||
import json
|
||||
|
||||
def insert_graph_data(json_str):
|
||||
try:
|
||||
graph_data = json.loads(json_str)
|
||||
except ValueError:
|
||||
return False
|
||||
|
||||
return True
|
Reference in New Issue
Block a user