Skip to content
Browse files

Fixed error in tzinfo when none is present in config file

  • Loading branch information...
1 parent 07e37ef commit ee09aca859d40f177ba8d4613e9d9bc3087b1282 Nick Johnson committed Feb 3, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 utils.py
View
2 utils.py
@@ -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.
Something went wrong with that request. Please try again.