1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-19 20:38:00 +01:00

fixed indentation problems

This commit is contained in:
compwiz18
2007-09-04 02:43:25 +00:00
parent 7176183b47
commit 64e5c27ba2
6 changed files with 62 additions and 57 deletions

5
gui.py
View File

@@ -339,7 +339,10 @@ class PrettyWirelessNetworkEntry(PrettyNetworkEntry):
self.show_all()
def setSignalStrength(self,strength, dbm_strength):
strength = int(strength)
if strength is not None:
strength = int(strength)
else:
dbm_strength = -1
if dbm_strength is not None:
dbm_strength = int(dbm_strength)
else: