Fixed LINT warnings
This commit is contained in:
parent
c0d30084d7
commit
2acb672e97
1 changed files with 1 additions and 3 deletions
|
@ -29,7 +29,7 @@ def is_display_on() -> bool:
|
||||||
return m is not None
|
return m is not None
|
||||||
|
|
||||||
|
|
||||||
def signal_handler(name, value):
|
def signal_handler(name, _):
|
||||||
global previous_xrandr
|
global previous_xrandr
|
||||||
if name != 'button':
|
if name != 'button':
|
||||||
return
|
return
|
||||||
|
@ -43,8 +43,6 @@ def signal_handler(name, value):
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
xrandr = get_current_xrandr()
|
|
||||||
|
|
||||||
loop = DBusGMainLoop()
|
loop = DBusGMainLoop()
|
||||||
bus = SessionBus(mainloop=loop)
|
bus = SessionBus(mainloop=loop)
|
||||||
bus.add_signal_receiver(
|
bus.add_signal_receiver(
|
||||||
|
|
Loading…
Reference in a new issue