Compare commits

...
1 Commits
Author SHA1 Message Date
Tim Glaser e9862cf671 Fix properties undefined error 2020-02-18 15:44:56 -08:00
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -218,6 +218,8 @@ class Client(object):
timestamp = guess_timezone(timestamp)
msg['timestamp'] = timestamp.isoformat()
msg['messageId'] = stringify_id(message_id)
if not msg.get('properties'):
msg['properties'] = {}
msg['properties']['$lib'] = 'posthog-python'
msg['properties']['$lib_version'] = VERSION
+1 -1
View File
@@ -1 +1 @@
VERSION = '1.0.7'
VERSION = '1.0.8'