Skip to content

Commit dc190e2

Browse files
committed
fix(WorkspaceBuilder): Fix logging usage
1 parent 7c5f536 commit dc190e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tmuxp/workspace/builder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ def iter_create_windows(
387387
target = "panes"
388388
else:
389389
target = "windows"
390-
logging.warning(
390+
logger.warning(
391391
f"Cannot set environment for new {target}. "
392392
"You need tmux 3.0 or newer for this."
393393
)
@@ -470,7 +470,7 @@ def get_pane_shell():
470470
# configuration as a warning for the window was already issued when
471471
# the window was created.
472472
if pconf.get("environment"):
473-
logging.warning(
473+
logger.warning(
474474
"Cannot set environment for new panes. "
475475
"You need tmux 3.0 or newer for this."
476476
)

0 commit comments

Comments
 (0)