feat:received date fixes
This commit is contained in:
parent
65ebf617c5
commit
1bdc232979
|
@ -125,13 +125,17 @@ def getValues():
|
|||
]
|
||||
|
||||
|
||||
def optinReceived(str,key):
|
||||
if not str:
|
||||
return str("")
|
||||
def optinReceived(value,key):
|
||||
if not value:
|
||||
return "no date"
|
||||
else:
|
||||
dictionary = dict(subString.split(":") for subString in str.split(","))
|
||||
dictionary = dict(subString.split(":") for subString in value.split(","))
|
||||
if(key in dictionary):
|
||||
return dictionary[key]
|
||||
else:
|
||||
return ' '
|
||||
|
||||
|
||||
|
||||
def optinStatus(str):
|
||||
if not str:
|
||||
|
|
Loading…
Reference in New Issue