Skip to content

Commit

Permalink
python style thing in something completely unrelated
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewEichmann-NOAA committed Jul 31, 2023
1 parent 2e330f5 commit 4bb6920
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 value is str:
match = pattern.findall(value)
if match:
fullvalue = value
Expand Down

0 comments on commit 4bb6920

Please sign in to comment.