>               # Date vars should be type datetime.time
>               config_value = str(stime)

this is pretty much the offending code right here... in fact, the
comment contradicts the assignment. it says that date vars should be
of type datetime.time, yet it assigns a *string* to config_value,
which then gets set later using setattr().

if you just remove that assignment, things should work better..., at
least from what i can see.

good luck!
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"Core Python Programming", Prentice Hall, (c)2007,2001
"Python Fundamentals", Prentice Hall, (c)2009
    http://corepython.com

wesley.j.chun :: wescpy-at-gmail.com
python training and technical consulting
cyberweb.consulting : silicon valley, ca
http://cyberwebconsulting.com
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to