From fd5f179df38bfdc84f9b89f097031bbbfb8a167b Mon Sep 17 00:00:00 2001 From: Alex Orid Date: Mon, 5 Apr 2021 14:12:47 -0400 Subject: [PATCH] temp commit --- db.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/db.py b/db.py index 7bcb074..48b3107 100644 --- a/db.py +++ b/db.py @@ -27,7 +27,7 @@ class db_module(): def dirtyModeSetup(self): self.create_table('testing') - self.get_data() + self.get_data(key = "testerinoz") def setup_connection(self, newName:str): self.dbName = newName @@ -43,6 +43,9 @@ class db_module(): self.cursor.execute("INSERT INTO testing VALUES ('testing','testerinozy','extra stuff 3')") self.connection.commit() + def create_json_obj_table(): + pass + def does_table_exist(self, tableName: str = ""): pass @@ -58,7 +61,7 @@ class db_module(): print(resultz) print("loop") for thing in resultz: - if thing[1] == "testerino": + if thing[1] == key: print("found it") print(thing[2])