Przeglądaj źródła

Remove options file for now

Thokoop 1 rok temu
rodzic
commit
ea0045cdf3
1 zmienionych plików z 0 dodań i 5 usunięć
  1. 0 5
      app.py

+ 0 - 5
app.py

@@ -56,11 +56,6 @@ if not os.path.exists(PLAYLISTS_FILE):
     with open(PLAYLISTS_FILE, "w") as f:
         json.dump({}, f, indent=2)
 
-# Ensure the file exists and contains at least an empty JSON object
-if not os.path.exists(OPTIONS_FILE):
-    with open(PLAYLISTS_FILE, "w") as f:
-        json.dump({}, f, indent=2)
-
 def get_ino_firmware_details(ino_file_path):
     """
     Extract firmware details, including version and motor type, from the given .ino file.