Skip to content

Commit

Permalink
pycodestyle (why did this break?)
Browse files Browse the repository at this point in the history
  • Loading branch information
CoryMartin-NOAA committed Aug 2, 2023
1 parent b77a7b4 commit 99006e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ush/ufsda/genYAML.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def genYAML(yamlconfig, output=None):
# what if the config_dict has environment variables that need substituted?
pattern = re.compile(r'.*?\${(\w+)}.*?')
for key, value in config_dict.items():
if type(value) == str:
if type(value) is str:
match = pattern.findall(value)
if match:
fullvalue = value
Expand Down

0 comments on commit 99006e9

Please sign in to comment.