MrCypher 7 月之前
父节点
当前提交
cfc5c068b6
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      GUI.py

+ 4 - 1
GUI.py

@@ -1,7 +1,6 @@
 import customtkinter as ctk
 import json
 from PIL import Image, ImageTk
-
 import asyncio
 from bleak import BleakScanner
 from bleak import BleakClient
@@ -25,6 +24,10 @@ async def connect():
     return target_address
 
 currentScore = 30
+highestScore = 0
+
+if currentScore < highestScore :
+    highestScore = currentScore
 
 async def main():
     await connect()