Skip to content
This repository has been archived by the owner on Oct 5, 2024. It is now read-only.

Commit

Permalink
fix travis...
Browse files Browse the repository at this point in the history
  • Loading branch information
doudz committed Nov 22, 2018
1 parent f2f5898 commit 7a37410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zigate/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ def _tag_missing(self, addr):
'''
tag a device as missing
'''
last_24h = datetime.datetime.now()-datetime.timedelta(hours=24)
last_24h = datetime.datetime.now() - datetime.timedelta(hours=24)
last_24h = last_24h.strftime('%Y-%m-%d %H:%M:%S')
if addr in self._devices:
if self._devices[addr].last_seen and self._devices[addr].last_seen < last_24h:
Expand Down

0 comments on commit 7a37410

Please sign in to comment.