Updated readme: Python >= 3.2 #2

Merged
merged 1 commit into from May 28, 2013

Projects

None yet

2 participants

@djuretic
Contributor

I tried to run the code (Python 3.1.2) and got this error:

Traceback (most recent call last):
  File "ranwhen.py", line 173, in <module>
    half_hours_in_day = round(day / half_hour)
TypeError: unsupported operand type(s) for /: 'datetime.timedelta' and 'datetime.timedelta'

Python 3.2 added support for division between timedelta, so the I updated the readme file.

@p-e-w
Owner
p-e-w commented May 27, 2013

Should also be updated in the source file itself

@djuretic
Contributor

@p-e-w Done

@p-e-w p-e-w merged commit 15b9e5e into p-e-w:master May 28, 2013
@p-e-w
Owner
p-e-w commented May 28, 2013

Merged, thanks.

@djuretic djuretic deleted the unknown repository branch May 28, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment