使用履歴出力のreturn修正
This commit is contained in:
parent
abf03bd4d6
commit
889c464c5f
1 changed files with 2 additions and 1 deletions
|
@ -258,6 +258,7 @@ class Bot(discord.Client):
|
||||||
wb.save(excel_file_path)
|
wb.save(excel_file_path)
|
||||||
|
|
||||||
print(f"テーブル '{main_table}' の内容を '{excel_file_path}' に出力しました。")
|
print(f"テーブル '{main_table}' の内容を '{excel_file_path}' に出力しました。")
|
||||||
|
result = {"result": "ok", "file_path": excel_file_path}
|
||||||
|
|
||||||
except (Exception, psycopg2.Error) as error:
|
except (Exception, psycopg2.Error) as error:
|
||||||
print("使用履歴のエクスポート時にエラーが発生しました\nエラー内容\n", str(error))
|
print("使用履歴のエクスポート時にエラーが発生しました\nエラー内容\n", str(error))
|
||||||
|
|
Loading…
Reference in a new issue