Felix Geller  committed 9d67734

Improve usage: No need to specify title.text, title is sufficient.

title.text is a residue of an attempt that attempted to use reflection to update the fields of the event.

  • Participants
  • Parent commits 2389731
  • Branches default

Comments (0)

Files changed (1)

   uri = EVENT_URI_PREFIX + event_id
   event = client.GetEventEntry(uri, auth_token=client.auth_token)
   for k,v in fields.items():
-    if k == 'title.text': event.title.text = v
+    if k == 'title': event.title.text = v
 class Usage(Exception):