瀏覽代碼

disc isn't resetting

Karl Hudgell 6 月之前
父節點
當前提交
3c3cc36cd0
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      buttons.py

+ 0 - 1
buttons.py

@@ -41,7 +41,6 @@ def button_callback_3(channel):
         if time.time() - start_time >= 3:  # Check if 3 seconds have passed
             print("Button 3 held for 3 seconds! Sending RADIO2.")
             update_disc(client, ["ytmusic",disc_data['name'],disc_data['type'],"RESET"])
-            time.sleep(1)
             update_disc(client, ["ytmusic",disc_data['name'],disc_data['type'],disc_data['id']])
             return  # Exit after sending RADIO2