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:
7
misc.py
7
misc.py
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user