We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b42874e commit a0935eeCopy full SHA for a0935ee
1 file changed
api/index.py
@@ -8,7 +8,7 @@
8
9
line_bot_api = LineBotApi(os.getenv("LINE_CHANNEL_ACCESS_TOKEN"))
10
line_handler = WebhookHandler(os.getenv("LINE_CHANNEL_SECRET"))
11
-working_status = os.getenv("DEFALUT_TALKING", default="true").lower() in ['true', '1', 't']
+working_status = os.getenv("DEFALUT_TALKING", default="true").lower() == "true"
12
13
app = Flask(__name__)
14
chatgpt = ChatGPT()
0 commit comments