From 34f5853f8e085f037ecf4314573e9577684eb5fb Mon Sep 17 00:00:00 2001
From: Steve Nyemba
Date: Sat, 19 Jul 2025 16:40:52 -0500
Subject: [PATCH] license & attribution
---
www/html/_plugins/dbe.py | 28 ++++++++++++++++------------
www/html/about.html | 10 +++++-----
2 files changed, 21 insertions(+), 17 deletions(-)
diff --git a/www/html/_plugins/dbe.py b/www/html/_plugins/dbe.py
index bc1932e..7c68664 100644
--- a/www/html/_plugins/dbe.py
+++ b/www/html/_plugins/dbe.py
@@ -46,19 +46,23 @@ def apply (**_args):
_label = _request.json['label']
_query = _request.json['query']
_qreader = transport.get.reader(label=_label)
- if not _query.startswith("{") :
- _data = _qreader.apply(_query) #.astype(str).to_dict(orient='split')
- else:
- _data = _qreader.read( **json.loads(_query))
- if _data.shape[0] :
- _data = _data.astype(str).to_dict(orient='split')
- if 'index' in _data:
- del _data['index']
+ try:
+ if not _query.startswith("{") :
+ _data = _qreader.apply(_query) #.astype(str).to_dict(orient='split')
+ else:
+ _data = _qreader.read( **json.loads(_query))
+ if _data.shape[0] :
+ _data = _data.astype(str).to_dict(orient='split')
+ if 'index' in _data:
+ del _data['index']
+
+ else:
+ _data = []
+ _qreader.close()
+ return _data
+ except Exception as e:
+ raise Exception( str(e))
- else:
- _data = []
- _qreader.close()
- return _data
def set(**_args):
"""
This function will update the registry with data for supported technologies
diff --git a/www/html/about.html b/www/html/about.html
index c130385..f6dc5e0 100644
--- a/www/html/about.html
+++ b/www/html/about.html
@@ -97,7 +97,7 @@ $(document).ready(()=>{
{{layout.header.title}} is licensed under MIT License
- with most of the components require attribution.
+ with most of the components requiring attribution.
@@ -106,16 +106,16 @@ $(document).ready(()=>{
- -
+
-
Syncfusion,
- -
+
-
fontawesome,
- -
+
-
Iconfinder
- -
+
-
freepik.com | iconduck