Thokoop 1 год назад
Родитель
Сommit
ea0045cdf3
1 измененных файлов с 0 добавлено и 5 удалено
  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.