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