Skip to content

Commit

Permalink
修复未找到 api 地址时的崩溃
Browse files Browse the repository at this point in the history
  • Loading branch information
DancingSnow0517 committed May 8, 2023
1 parent 5f7517c commit b4fe45e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/star_rail_gacha/app/pages/home_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def run(self) -> None:
self.parent().stateTooltipSignal.emit("正在更新数据...", "可能会花上一段时间,请耐心等待", True)
api_url = get_local_api_url()
if api_url is None:
self.parent().statusLabel.setText("未找到API地址", "请检查是否开启过星穹铁道的历史记录")
self.parent().statusLabel.setText("未找到API地址, 请检查是否开启过星穹铁道的历史记录")
self.parent().stateTooltipSignal.emit("数据更新失败,未找到API地址!", "", False)
self.parent().update_button.setEnabled(True)
return
Expand Down

0 comments on commit b4fe45e

Please sign in to comment.