Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfidan committed May 23, 2024
1 parent 29d18dd commit 48bc281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyrad_proc/pyrad/flow/flow_aux.py
Original file line number Diff line number Diff line change
Expand Up @@ -894,7 +894,7 @@ def _generate_prod(dataset, cfg, prdname, prdfunc, dsname, voltime,
cfg, dsname, prdname, voltime, runinfo=runinfo)
try:
filenames = prdfunc(dataset, prdcfg)
if 's3copypath' in prdcfg and filenames != None: # copy to S3
if 's3copypath' in prdcfg and filenames is not None: # copy to S3
s3AccessPolicy = (prdcfg['s3AccessPolicy'] if 's3AccessPolicy'
in prdcfg else None)
for fname in filenames:
Expand Down

0 comments on commit 48bc281

Please sign in to comment.