Skip to content

Commit

Permalink
修复webview_ui中global的错误使用
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhaoZuohong committed Sep 27, 2023
1 parent 4baad69 commit 0fbd0f4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion webview_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ def is_port_in_use(port):
sleep(0.1)
webview.start()

global mower_process
if mower_process:
mower_process.terminate()
mower_process = None
Expand Down

0 comments on commit 0fbd0f4

Please sign in to comment.