fixed the tray icon
This commit is contained in:
1 parent
1be2d485d7
commit
d11f67c848
1 file changed
+1
-1
@@ -511,7 +511,7 @@ class ConnectionWizard(dbus.service.Object):
|
||||
def GetCurrentNetworkID(self):
|
||||
'''returns the id of the current network, or -1 if network is not found'''
|
||||
currentESSID = self.GetCurrentNetwork()
|
||||
for x in self.LastScan:
|
||||
for x in xrange(0,len(self.LastScan)):
|
||||
if self.LastScan[x]['essid'] == currentESSID:
|
||||
print 'current network found, id is ',x
|
||||
return x
|
||||
|
||||
Reference in new issue
Block a user