diff options
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/db_info.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/db_info.py b/wqflask/wqflask/db_info.py index bd2f3b5e..336fc7df 100644 --- a/wqflask/wqflask/db_info.py +++ b/wqflask/wqflask/db_info.py @@ -47,7 +47,7 @@ class InfoPage: final_query = f"{query_base}InfoPageName = {self.info_page_name}" results = g.db.execute(final_query).fetchone() else: - raise 'No correct parameter found' + raise ValueError('No correct parameter found') if results: self.info = process_query_results(results) |