aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorPjotr Prins2016-06-23 10:27:47 +0000
committerPjotr Prins2016-06-23 10:27:47 +0000
commit4095e7d4d12cd4c06aa839a8c47ba38fbb9d30e3 (patch)
tree10935617fadf47dc4c95b3d640fd534143dca8a6 /wqflask
parent8044e04c171d972fa64c510320c781360b823c07 (diff)
downloadgenenetwork2-4095e7d4d12cd4c06aa839a8c47ba38fbb9d30e3.tar.gz
Added fetching menu info
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/db/gn_server.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/wqflask/db/gn_server.py b/wqflask/db/gn_server.py
new file mode 100644
index 00000000..da224112
--- /dev/null
+++ b/wqflask/db/gn_server.py
@@ -0,0 +1,9 @@
+# Backend query functions (logic)
+
+from db.call import gn_server
+
+from utility.logger import getLogger
+logger = getLogger(__name__ )
+
+def menu_main():
+ return gn_server("/int/menu/main.json")