From 4095e7d4d12cd4c06aa839a8c47ba38fbb9d30e3 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Thu, 23 Jun 2016 10:27:47 +0000 Subject: Added fetching menu info --- wqflask/db/gn_server.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 wqflask/db/gn_server.py (limited to 'wqflask/db') 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") -- cgit v1.2.3