From a24326ea56480e3b1bbd47e56d44ecb22a7d419f Mon Sep 17 00:00:00 2001 From: Karl Hudgell Date: Fri, 20 Sep 2024 14:15:53 +0100 Subject: [PATCH] working check_current_disc without json --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index d4cd223..0440793 100644 --- a/main.py +++ b/main.py @@ -34,7 +34,7 @@ if len(sys.argv) > 1: "id":disc_data[3] } # Check if disc is the same as last inserted - if (disc_object == json.loads(check_current_disc(client))): + if (disc_object == check_current_disc(client)): # If disc is the same, PLAY control_player(client, "PLAY") else: