tools: remove write-only variable from tuhi-live

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
pull/215/head
Peter Hutterer 2019-08-29 11:32:27 +10:00
parent b40dee5900
commit 9eedbe108a
1 changed files with 0 additions and 6 deletions

View File

@ -142,8 +142,6 @@ def run_live(request_fd_queue, conn_fd):
mainloop = GLib.MainLoop()
connected_devices = 0
def on_disconnect(dev, pspec):
mainloop.quit()
@ -154,10 +152,6 @@ def run_live(request_fd_queue, conn_fd):
except KeyboardInterrupt:
pass
finally:
for device in manager.devices:
if device.live:
connected_devices += 1
for device in manager.devices:
if device.live and device.connected:
logger.info(f'stopping live on {device}')