登録のときにどうしてもエラーになるバグを修正
This commit is contained in:
parent
9269441051
commit
edd01a0d4d
1 changed files with 2 additions and 2 deletions
|
@ -340,10 +340,10 @@ class Bot(discord.Client):
|
||||||
print(str(error.__class__.__name__))
|
print(str(error.__class__.__name__))
|
||||||
print(str(error.args))
|
print(str(error.args))
|
||||||
print(str(error))
|
print(str(error))
|
||||||
return {"result": "error"}
|
return {"result": 1, "about": "error"}
|
||||||
finally:
|
finally:
|
||||||
cursor.close()
|
cursor.close()
|
||||||
return {"result": 1, "about": "error"}
|
|
||||||
|
|
||||||
def stop(self, **kwargs):
|
def stop(self, **kwargs):
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue