diff options
author | 2020-10-27 02:19:54 +0000 | |
---|---|---|
committer | 2020-10-27 02:19:54 +0000 | |
commit | a6f3a94cab63b52fd450442bbc0b24fdafbbb580 (patch) | |
tree | 21382a23379475e60c14673586910c416c02290e /pydis_site | |
parent | Use SQL formatting instead of f-strings for injecting values (diff) |
Remove unnecessary f-string marker
Diffstat (limited to 'pydis_site')
-rw-r--r-- | pydis_site/apps/api/models/bot/metricity.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/apps/api/models/bot/metricity.py b/pydis_site/apps/api/models/bot/metricity.py index 6f03baf0..4313d2e2 100644 --- a/pydis_site/apps/api/models/bot/metricity.py +++ b/pydis_site/apps/api/models/bot/metricity.py @@ -49,7 +49,7 @@ class Metricity: def total_message_blocks(self, user_id: str) -> int: """Query number of 10 minute blocks the user has been active during.""" self.cursor.execute( - f""" + """ SELECT COUNT(*) FROM ( |