Update sweebot.py
This commit is contained in:
parent
8f567cca09
commit
d8c5f89a26
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue