Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b3f8ba4cec |
@ -40,7 +40,7 @@ def sendToArtemis(syncId, pos, neu, neg, compound, type):
|
||||
strippedTimestamp = timestamp.replace(minute=0, second=0, microsecond=0)
|
||||
timestamp = strippedTimestamp.strftime('%Y-%m-%dT%H:%M:%S')
|
||||
|
||||
message = { "timestamp" : timestamp, "syncId": syncId, "pos" : pos, "neu" : neu, "neg" : neg, "compound" : compound, "type": type }
|
||||
message = { "timestamp" : timestamp, "syncId": str(syncId), "pos" : pos, "neu" : neu, "neg" : neg, "compound" : compound, "type": type }
|
||||
|
||||
messageJson = json.dumps(message, indent = 4)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user