From 6375526e0dbdc2ed63e48f904be5910963e4bd2f Mon Sep 17 00:00:00 2001 From: s-martin Date: Tue, 4 Jun 2024 23:09:16 +0200 Subject: [PATCH] Remove unused read of parameter --- src/jukebox/components/rfid/hardware/generic_usb/generic_usb.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/jukebox/components/rfid/hardware/generic_usb/generic_usb.py b/src/jukebox/components/rfid/hardware/generic_usb/generic_usb.py index f6d0a5db5..9f176566d 100755 --- a/src/jukebox/components/rfid/hardware/generic_usb/generic_usb.py +++ b/src/jukebox/components/rfid/hardware/generic_usb/generic_usb.py @@ -140,8 +140,6 @@ def __init__(self, reader_cfg_key, logger=None): raise KeyError("Mandatory key 'device_name' not given in configuration!") if 'device_phys' not in config: self._logger.warning("Key 'device_phys' not given in configuration! Trying without...") - if 'key_capability' not in config: - self._logger.warning("Key 'key_capability' not given in configuration! Using default value: 'true'.") if 'name_is_unique' not in config: self._logger.warning("Key 'name_is_unique' not given in configuration! Using default value: 'true'.") if 'key_check_is_unique' not in config: