1
0
Fork 0
forked from swee/MeowNex

Update sweebot.py

This commit is contained in:
Swee 2024-10-12 15:25:22 -07:00
parent 8f567cca09
commit d8c5f89a26

View file

@ -28,6 +28,7 @@ class config:
try: try:
self.database.execute("SELECT * FROM chans WHERE chan = ?;", [chan]) self.database.execute("SELECT * FROM chans WHERE chan = ?;", [chan])
output = self.database.fetchall() output = self.database.fetchall()
print(output)
temp = output[0][1].split(",") temp = output[0][1].split(",")
return temp if temp != [''] else [] return temp if temp != [''] else []
except: except: