Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 29, 2024
1 parent 5f9c4dc commit f21d900
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pt_web_vnc/vnc.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ async def async_start(
depth=depth,
run=run,
background_colour=background_colour,
with_window_manager=True
if callable(on_display_activity)
else with_window_manager,
with_window_manager=(
True if callable(on_display_activity) else with_window_manager
),
)

logging.info(f"Starting pt-web-vnc: {cmd}")
Expand Down

0 comments on commit f21d900

Please sign in to comment.