diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-09-08 17:13:52 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-09-09 12:06:42 -0700 |
| commit | 07b245e3ff157b6543358cfb4fcb7c337510608e (patch) | |
| tree | 1f4d1552fb1295417c28d960ef3f26a0ac52a4f0 /api/database.py | |
| parent | 62ba7cb1a7023e97cef418eeec6e5c610e244b91 (diff) | |
dynamic number of correct and wrong answers
Diffstat (limited to 'api/database.py')
| -rw-r--r-- | api/database.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/database.py b/api/database.py index 0f31a7d..a5d70e6 100644 --- a/api/database.py +++ b/api/database.py @@ -84,7 +84,7 @@ class PostgresHandler: print(e) return False - def get_random_row(self, table_name: str, count: int, condition: str = None): + def get_random_rows(self, table_name: str, count: int, condition: str = None): if condition is None: condition = "1 = 1" try: |
