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

added global dns options (not quite working)

This commit is contained in:
compwiz18
2007-07-16 06:16:52 +00:00
parent 0b0859152d
commit e55ac1fcba
4 changed files with 189 additions and 39 deletions

View File

@@ -130,3 +130,10 @@ def LoadEncryptionMethods():
encryptionTypes[typeID][2][index] = {}
encryptionTypes[typeID][2][index][1] = current
return encryptionTypes
def noneToString(text):
'''used for putting text in a text box if the value to put in is 'None' the box will be blank'''
if text == None or text == "None" or text == "":
return "None"
else:
return str(text)