aboutsummaryrefslogtreecommitdiff
path: root/gn3
diff options
context:
space:
mode:
authorAlexander_Kabui2024-03-25 18:10:28 +0300
committerAlexander_Kabui2024-03-25 18:10:28 +0300
commit800200589a1961a6d2b2de51b8e37699c4f00c0d (patch)
tree667300af8e8a1ae6c9ab7abe9ef5b3a7aa2a62e4 /gn3
parent3f6cef070625d2ac091124f4fcec98aa0e7a4dea (diff)
downloadgenenetwork3-800200589a1961a6d2b2de51b8e37699c4f00c0d.tar.gz
pep8 formatting
Diffstat (limited to 'gn3')
-rw-r--r--gn3/api/llm.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/gn3/api/llm.py b/gn3/api/llm.py
index c175168..e857365 100644
--- a/gn3/api/llm.py
+++ b/gn3/api/llm.py
@@ -78,8 +78,9 @@ def rating(task_id):
results.get("weight", 0))
logging.debug("the user id %s", str(user_id))
- # get base name for sqlite
- llm_path = os.path.join(os.path.dirname(os.current_app.config["AUTH_DB"]),"llm.db")
+ # get base name for sqlite
+ llm_path = os.path.join(os.path.dirname(
+ current_app.config["AUTH_DB"]), "llm.db")
with db.connection(llm_path) as conn:
cursor = conn.cursor()
create_table = """CREATE TABLE IF NOT EXISTS Rating(