Skip to content

Commit

Permalink
fixes type annotation in homeauto
Browse files Browse the repository at this point in the history
  • Loading branch information
bb-Ricardo committed Jul 13, 2024
1 parent 8697292 commit ccc0078
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
test_start_ts = datetime.now().timestamp()


def force_int(data, path: string, default: int = 0):
def force_int(data, path: str, default: int = 0):
"""
cast 'path' in data (object) to integer,
if this fails return default
Expand Down

0 comments on commit ccc0078

Please sign in to comment.