diff options
author | John Turner <jturner.usa@gmail.com> | 2025-09-07 21:49:32 -0400 |
---|---|---|
committer | John Turner <jturner.usa@gmail.com> | 2025-09-07 21:50:02 -0400 |
commit | e83dca10bc06bdb49a09282a8f3e62676b926e14 (patch) | |
tree | cbe1814cb43fca16dea31184e59b459c8e4df67a | |
parent | 5e0f76c0e24652764bf6446a13623aba540f38b6 (diff) | |
download | pypaste-e83dca10bc06bdb49a09282a8f3e62676b926e14.tar.gz |
forgot to await self.database.exists
-rw-r--r-- | pypaste/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pypaste/__init__.py b/pypaste/__init__.py index 13f84b8..5842563 100644 --- a/pypaste/__init__.py +++ b/pypaste/__init__.py @@ -112,7 +112,7 @@ class App: return web.HTTPBadRequest(text="provide a key to fetch") try: - exists = self.database.exists(key) + exists = await self.database.exists(key) except Exception as e: log_error(f"failed to check if key exists in database: {e}") return web.HTTPBadRequest() |