Skip to content

Commit

Permalink
hot fix: was popping hardware_option too early.
Browse files Browse the repository at this point in the history
  • Loading branch information
bnb32 committed Dec 24, 2022
1 parent aba9f10 commit 8491632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sup3r/utilities/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def from_config_preflight(cls, module_name, ctx, config_file, verbose):
config_verbose = (config_verbose == 'DEBUG')
verbose = any([verbose, config_verbose, ctx.obj['VERBOSE']])
exec_kwargs = config.get('execution_control', {})
hardware_option = exec_kwargs.pop('option', 'local')
hardware_option = exec_kwargs.get('option', 'local')

log_dir = log_file or log_pattern
log_dir = log_dir if log_dir is None else os.path.dirname(log_dir)
Expand Down

0 comments on commit 8491632

Please sign in to comment.