Skip to content

Commit

Permalink
mqsub: Fix regression.
Browse files Browse the repository at this point in the history
  • Loading branch information
wwood committed Aug 28, 2023
1 parent 747f262 commit 9697c6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/mqsub
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ class script_format:
try:
current_conda_env = os.environ['CONDA_PREFIX']
except:
pass
current_conda_env = None
if current_conda_env:
print("conda activate '{}'".format(current_conda_env),file=outfile)
if args.command_file and (args.chunk_num or args.chunk_size):
Expand Down

0 comments on commit 9697c6c

Please sign in to comment.