Skip to content

Commit

Permalink
HARMONY-1125: Fix default type
Browse files Browse the repository at this point in the history
  • Loading branch information
vinnyinverso committed Jun 3, 2022
1 parent 77f7e36 commit eb9ccd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion harmony/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def bool_envvar(name: str, default: bool) -> bool:
value = environ.get(name)
return str.lower(value) == 'true' if value is not None else default

def int_envvar(name: str, default: bool) -> int:
def int_envvar(name: str, default: int) -> int:
value = environ.get(name)
return int(value) if value is not None else default

Expand Down

0 comments on commit eb9ccd3

Please sign in to comment.