Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
westsurname authored Aug 4, 2024
1 parent aa8ac42 commit 9c264c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

default_pattern = r"<[a-z0-9_]+>"

def commonEnvParser(value, convert):
def commonEnvParser(value, convert=None):
if value is not None and re.match(default_pattern, value):
return None
return convert(value) if convert else value
Expand Down

0 comments on commit 9c264c5

Please sign in to comment.