Skip to content

Commit 639b69e

Browse files
committed
clean.
1 parent 5423805 commit 639b69e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tmuxp/workspacebuilder.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,11 @@ def iter_create_windows(self, s):
183183
w1 = s.attached_window()
184184
w1.move_window(99)
185185
pass
186+
187+
sd = wconf['start_directory'] if 'start_directory' in wconf else None
186188
w = s.new_window(
187189
window_name=window_name,
188-
start_directory=wconf[
189-
'start_directory'] if 'start_directory' in wconf else None,
190+
start_directory=sd,
190191
attach=False, # do not move to the new window
191192
window_index=wconf.get('window_index', ''),
192193
)

0 commit comments

Comments
 (0)