Remove unused var

pull/7289/head
Jack Minardi 2017-04-25 00:45:59 -04:00
parent 450fd7f2b5
commit 943861a8a3
1 changed files with 4 additions and 4 deletions

View File

@ -260,10 +260,10 @@ class Tplink3DeviceScanner(TplinkDeviceScanner):
'form=logout').format(self.host, self.stok)
referer = 'http://{}/webpages/index.html'.format(self.host)
response = requests.post(url,
params={'operation': 'write'},
headers={'referer': referer},
cookies={'sysauth': self.sysauth})
requests.post(url,
params={'operation': 'write'},
headers={'referer': referer},
cookies={'sysauth': self.sysauth})
self.stok = ''
self.sysauth = ''