pumaguard 21__py3-none-any.whl → 21.post3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
pumaguard/presets.py CHANGED
@@ -148,6 +148,7 @@ class Preset:
148
148
  self.volume = 80 # Volume level 0-100 for ALSA playback
149
149
  self.print_download_progress = True
150
150
  self.camera_url = "" # URL for external camera web interface
151
+ self.cameras: list[dict[str, str]] = [] # List of detected cameras
151
152
  self.no_lion_directories: list[str] = []
152
153
  self.validation_no_lion_directories: list[str] = []
153
154
  self.with_augmentation = False
@@ -296,6 +297,7 @@ class Preset:
296
297
  "print-download-progress", True
297
298
  )
298
299
  self.camera_url = settings.get("camera-url", "")
300
+ self.cameras = settings.get("cameras", [])
299
301
 
300
302
  def save(self):
301
303
  """