Message152559
Right. I've updated my code to be more correct:
instead of:
if not start_time:
start_time = default_time
it now reads:
if start_time is None:
start_time = default_time
which operates correctly and works fine for my case, I just thought it was odd that one time out of all of them evaluates to False. I too wonder if it's by design or not.
It's definitely not documented if it is by design. |
|
Date |
User |
Action |
Args |
2012-02-03 20:55:11 | Lakin.Wecker | set | recipients:
+ Lakin.Wecker, belopolsky, r.david.murray |
2012-02-03 20:55:11 | Lakin.Wecker | set | messageid: <1328302511.16.0.180137160278.issue13936@psf.upfronthosting.co.za> |
2012-02-03 20:55:10 | Lakin.Wecker | link | issue13936 messages |
2012-02-03 20:55:10 | Lakin.Wecker | create | |
|