From 7331f0375270faba56a94f512a2e25932c5aa8f8 Mon Sep 17 00:00:00 2001 From: MartinMikita Date: Thu, 22 Sep 2016 16:53:29 +0200 Subject: [PATCH] Moved runtime get_attributes_values --- web/websearch.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/web/websearch.py b/web/websearch.py index 4027ce4..e6ae4c2 100755 --- a/web/websearch.py +++ b/web/websearch.py @@ -116,6 +116,11 @@ def get_attributes_values(index, attributes): return True +# Load attributes at runtime +get_attributes_values('ind_name_exact', CHECK_ATTR_FILTER) +pprint(ATTR_VALUES) + + # --------------------------------------------------------- """ @@ -917,10 +922,6 @@ def ppretty(value): # ============================================================================= -# Load attributes at runtime -get_attributes_values('ind_name_exact', CHECK_ATTR_FILTER) -pprint(ATTR_VALUES) - """ Main launcher """