Update cc/give
All checks were successful
Check syntax / check (push) Successful in 7s

This commit is contained in:
Nova Cat 2024-12-28 18:43:35 -08:00
parent c605ac2f4c
commit e1a7461369

View file

@ -3,7 +3,7 @@ import sqlite3
import re
conn = sqlite3.connect("/home/sweebotirc/sbirc.db")
database = conn.cursor()
def getperms(self, mask: str):
def getperms(mask: str):
try:
self.database.execute(f"SELECT * FROM users;")
output = self.database.fetchall()