Message269184
You're overriding the 'calendar' variable, holding the module, by the result of your 'calender.month' call, which happens to be a str. Use a different variable name (e.g. 'result') and the error will disappear.
Unrelated, but don't check for 'if x == True' - just do 'if x' and the result will be the same (also allows for any other result than booleans). |
|
Date |
User |
Action |
Args |
2016-06-24 14:56:31 | abarry | set | recipients:
+ abarry, Dyl Tuckey |
2016-06-24 14:56:31 | abarry | set | messageid: <1466780191.11.0.78253641487.issue27382@psf.upfronthosting.co.za> |
2016-06-24 14:56:31 | abarry | link | issue27382 messages |
2016-06-24 14:56:30 | abarry | create | |
|