insanum/gcalcli — pull request #37 by tresni (2012-12-23 19:51:57+00:00)
Title: Fixing error outputting so as not to cause a stacktrace/additional errors

Anytime the request fails right now I end up with a stack trace and an "index must be int not str" error. This seems to correct the error and properly prints out the real error message without having to access `["reason"]` directly.