bbangert / velruse

Simplifying third-party authentication for web applications.
http://packages.python.org/velruse/index.html
MIT License
252 stars 86 forks source link

Fixed random empty 'utc_offset' requests #129

Closed nullism closed 11 years ago

nullism commented 11 years ago

Sometimes twitter sends a null utc_offset as part of the twitter json response. So I've modified if 'utc_offset' in data to if data.get('utc_offset'). This seems to handle both cases. Added for issue #128

mmerickel commented 11 years ago

Thanks!