From dfaa5447acc5d439ccc82167f2e12c2029ad702b Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Tue, 27 Feb 2024 00:09:19 +0100 Subject: [PATCH] [#299] Refactored NFC backend into a runnable plugin. --- platypush/plugins/nfc/__init__.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/platypush/plugins/nfc/__init__.py b/platypush/plugins/nfc/__init__.py index 27c4c8adb4..011c226bdd 100644 --- a/platypush/plugins/nfc/__init__.py +++ b/platypush/plugins/nfc/__init__.py @@ -25,13 +25,11 @@ class NfcPlugin(RunnablePlugin): """ :param device: Address or ID of the device to be opened. Examples: - * `'usb:003:009'` opens device 9 on bus 3 - * `'usb:003'` opens the first available device on bus 3 - * `'usb'` opens the first available USB device (default) + * ``usb:003:009`` opens device 9 on bus 3 + * ``usb:003`` opens the first available device on bus 3 + * ``usb`` opens the first available USB device (default) """ - super().__init__(*args, **kwargs) - self.device_id = device self._clf = None