From 8ee4f6a8bc1f539a3c149301a71be4525c62361b Mon Sep 17 00:00:00 2001 From: Filipe Laíns Date: Mon, 10 Aug 2020 21:30:43 +0100 Subject: hidraw: minor stylistic change MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Filipe Laíns --- ioctl/hidraw.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ioctl/hidraw.py') diff --git a/ioctl/hidraw.py b/ioctl/hidraw.py index 6c69c8e..a083683 100644 --- a/ioctl/hidraw.py +++ b/ioctl/hidraw.py @@ -95,7 +95,7 @@ class Hidraw(object): ioctl.IOCTL.IOR( 'H', self.HIDIOCGRDESC, ctypes.sizeof(HidrawReportDescriptor) - ).perform(self._fd, buf=buf) + ).perform(self._fd, buf) ret = HidrawReportDescriptor.from_buffer(buf) return list(ret.value)[:ret.size] -- cgit v1.2.3