Mercurial > libervia-backend
comparison libervia/cli/cmd_remote_control.py @ 4270:0d7bb4df2343
Reformatted code base using black.
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 19 Jun 2024 18:44:57 +0200 |
parents | e47e29511d57 |
children |
comparison
equal
deleted
inserted
replaced
4269:64a85ce8be70 | 4270:0d7bb4df2343 |
---|---|
361 ) | 361 ) |
362 aio.install_glib_asyncio_iteration() | 362 aio.install_glib_asyncio_iteration() |
363 # FIXME: for now AUTO always do the screen sharing, but is should be disabled and | 363 # FIXME: for now AUTO always do the screen sharing, but is should be disabled and |
364 # appropriate method should be used when no desktop environment is detected. | 364 # appropriate method should be used when no desktop environment is detected. |
365 with_screen_sharing = self.args.share_screen in ("yes", "auto") | 365 with_screen_sharing = self.args.share_screen in ("yes", "auto") |
366 await self.receiver.request_remote_desktop( | 366 await self.receiver.request_remote_desktop(with_screen_sharing) |
367 with_screen_sharing | |
368 ) | |
369 | 367 |
370 self.disp(_("Waiting for controlling device…")) | 368 self.disp(_("Waiting for controlling device…")) |
371 await self.start_answering() | 369 await self.start_answering() |
372 | 370 |
373 | 371 |