Skip to content

Commit

Permalink
Per #1289, fixed typo in logic for ensuring either input template or …
Browse files Browse the repository at this point in the history
…file list is set
  • Loading branch information
georgemccabe committed Jan 31, 2022
1 parent 5ec42cf commit 6a624d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metplus/wrappers/gen_ens_prod_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ def create_c_dict(self):
self.config.getraw('config', 'GEN_ENS_PROD_INPUT_FILE_LIST')
)

if (not c_dict['FCST_INPUT_TEMPLATE'] or
c_dict['FCST_INPUT_FILE_LIST']):
if (not c_dict['FCST_INPUT_TEMPLATE'] and
not c_dict['FCST_INPUT_FILE_LIST']):
self.log_error('GEN_ENS_PROD_INPUT_TEMPLATE or '
'GEN_ENS_PROD_INPUT_FILE_LIST must be set')

Expand Down

0 comments on commit 6a624d2

Please sign in to comment.