From 2acb672e97aa4c5457cef79de7a4d80d7124132c Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Tue, 8 Feb 2022 23:23:32 +0100 Subject: [PATCH] Fixed LINT warnings --- bin/cutiepi-button-handler | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bin/cutiepi-button-handler b/bin/cutiepi-button-handler index c0ff48b..dcaeaa9 100755 --- a/bin/cutiepi-button-handler +++ b/bin/cutiepi-button-handler @@ -29,7 +29,7 @@ def is_display_on() -> bool: return m is not None -def signal_handler(name, value): +def signal_handler(name, _): global previous_xrandr if name != 'button': return @@ -43,8 +43,6 @@ def signal_handler(name, value): def main(): - xrandr = get_current_xrandr() - loop = DBusGMainLoop() bus = SessionBus(mainloop=loop) bus.add_signal_receiver(