Fixed LINT warnings

This commit is contained in:
Fabio Manganiello 2022-02-08 23:23:32 +01:00
parent c0d30084d7
commit 2acb672e97

View file

@ -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(