add line breaks to history string
@@ -258,7 +258,7 @@ class GetData():
hist = ''
if len(endpoint.history) > 0 :
for entry in endpoint.history:
- hist += "{0} - {1} : {2}".format(entry.type, time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(entry.timestamp)), entry.message)
+ hist += "{0} - {1} : {2} \r\n".format(entry.type, time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(entry.timestamp)), entry.message)
else :
hist = "No history recorded yet."
return hist
