Mercurial > code > home > repos > homeauto
changeset 1084:3a9f20f881d1
immediate mode needs a PUT request
Ignore-this: 48c3b5d2c25440a43000b53079d0bd68
darcs-hash:c3756f6387c72f4e3eb0615104fca885560e4d16
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Fri, 06 May 2016 17:32:18 -0700 |
parents | c5b61f943061 |
children | dda3f1524a52 |
files | service/tomatoWifi/tomatoWifi.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/service/tomatoWifi/tomatoWifi.py Fri May 06 17:31:20 2016 -0700 +++ b/service/tomatoWifi/tomatoWifi.py Fri May 06 17:32:18 2016 -0700 @@ -175,6 +175,7 @@ self.lastWithSignal = newWithSignal if actions: # this doesn't currently include signal strength changes fetch(reasoning + "immediateUpdate", + method='PUT', timeout=2, headers={'user-agent': ['tomatoWifi']}).addErrback(log.warn) self.lastAddrs = newAddrs