Skip to content

Commit

Permalink
Merge pull request #84 from danimtb/fix/request_timeout
Browse files Browse the repository at this point in the history
Fix conversion to int and name in request_timeout_secs
  • Loading branch information
danimtb authored Apr 15, 2019
2 parents ba7e36f + 65d1fa4 commit d663dba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dasshio/dasshio.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def arp_display(pkt):
mac = ""
current_time = datetime.utcnow()
button_timeout = int(config["timeout"]) if "timeout" in config else 10
request_timeout_secs = config["request_timeout_secs"] if "reuqest_timeout_secs" in config else 0.5
request_timeout_secs = int(config["request_timeout_secs"]) if "request_timeout_secs" in config else 2

try:
mac = pkt[ARP].hwsrc.lower()
Expand Down

0 comments on commit d663dba

Please sign in to comment.