diff options
-rw-r--r-- | wqflask/wqflask/db_info.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/wqflask/wqflask/db_info.py b/wqflask/wqflask/db_info.py index 9bedd8be..f5c029a6 100644 --- a/wqflask/wqflask/db_info.py +++ b/wqflask/wqflask/db_info.py @@ -50,10 +50,8 @@ class InfoPage: if results: self.info = process_query_results(results) - if (not results or len(results) < 1) and self.info_page_name and create: - insert_newlines = ( - "INSERT INTO InfoFiles SET " - f"InfoFiles.InfoPageName={self.info_page_name}") + if ((not results or len(results) < 1) + and self.info_page_name and create): return self.get_info() if not self.gn_accession_id and self.info: |