Skip to content

Commit

Permalink
fix: avoid undefined use_session_slice arg in aux mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir-csp committed Sep 15, 2024
1 parent 3d878c7 commit 8af0428
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions uwsm/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3952,8 +3952,8 @@ def fill_comp_globals():
elif entry.getComment():
CompGlobals.description = entry.getComment()

# inherit slice argument
if entry_uwsm_args is not None and Args.parsed.use_session_slice is None:
# inherit slice argument (for start mode only)
if Args.parsed.mode == "start" and entry_uwsm_args is not None and Args.parsed.use_session_slice is None:
print_debug(
"inherited use_session_slice",
entry_uwsm_args.parsed.use_session_slice,
Expand Down

0 comments on commit 8af0428

Please sign in to comment.