4
0
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:
Vanhala Antti
2014-05-28 19:48:46 +03:00
parent a1a2152414
commit d6b0b97528
3 changed files with 203 additions and 0 deletions

9
web/graphData.py Normal file
View 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