Skip to content

Commit a0935ee

Browse files
committed
reformat
1 parent b42874e commit a0935ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
line_bot_api = LineBotApi(os.getenv("LINE_CHANNEL_ACCESS_TOKEN"))
1010
line_handler = WebhookHandler(os.getenv("LINE_CHANNEL_SECRET"))
11-
working_status = os.getenv("DEFALUT_TALKING", default="true").lower() in ['true', '1', 't']
11+
working_status = os.getenv("DEFALUT_TALKING", default="true").lower() == "true"
1212

1313
app = Flask(__name__)
1414
chatgpt = ChatGPT()

0 commit comments

Comments
 (0)