#433, 435 work - handle empty in DHCPLSS, email templates fixes
This commit is contained in:
@@ -33,6 +33,13 @@ pialertConfigFile = read_config_file()
|
||||
timeZoneSetting = pialertConfigFile['TIMEZONE']
|
||||
timeZone = pytz.timezone(timeZoneSetting)
|
||||
|
||||
# -------------------------------------------------------------------
|
||||
def handleEmpty(input):
|
||||
if input == '' or None:
|
||||
return 'null'
|
||||
else:
|
||||
return input
|
||||
|
||||
# -------------------------------------------------------------------
|
||||
def decodeBase64(inputParamBase64):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user