View Single Post
MK99's Avatar
Posts: 644 | Thanked: 480 times | Joined on Jul 2012 @ Finland
#815
tonyhuynh,

You have:
Code:
if hours == 1:
result.append('%d hour' % hours)
Should be:
Code:
if hours == 1:
 result.append('%d hour' % hours)
See the space before "result". Small but significant difference.
 

The Following User Says Thank You to MK99 For This Useful Post: