Permalink
Browse files

Fixed error in tzinfo when none is present in config file

  • Loading branch information...
Nick Johnson
Nick Johnson committed Feb 3, 2011
1 parent 07e37ef commit ee09aca859d40f177ba8d4613e9d9bc3087b1282
Showing with 1 addition and 1 deletion.
  1. +1 −1 utils.py
View
@@ -106,7 +106,7 @@ def tzinfo():
config.tzinfo_class; else, None.
"""
- if not config.tzinfo_class:
+ if not config.__dict__.get('tzinfo_class'):
return None
str = config.tzinfo_class

0 comments on commit ee09aca

Please sign in to comment.