Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Updated readme: Python >= 3.2 #2

Merged
merged 1 commit into from

2 participants

@djuretic

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

Should also be updated in the source file itself

@p-e-w p-e-w merged commit 15b9e5e into p-e-w:master
@p-e-w
Owner

Merged, thanks.

@djuretic djuretic deleted the unknown repository branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 28, 2013
  1. @djuretic
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +1 −1  README.md
  2. +1 −1  ranwhen.py
View
2  README.md
@@ -8,7 +8,7 @@ ranwhen is a Python script that graphically shows **in your terminal** when your
# Requirements
* *nix system with [last(1)](http://linux.die.net/man/1/last) installed and supporting the -R and -F flags
-* [Python 3](http://www.python.org/)
+* [Python >= 3.2](http://www.python.org/)
* Terminal emulator with support for Unicode and xterm's 256 color mode
The above requirements should be fulfilled by default on the majority of modern Linux distributions, where the only thing that needs to be done is usually to install Python 3.
View
2  ranwhen.py
@@ -4,7 +4,7 @@
#
# Requirements:
# - *nix system with last(1) installed and supporting the -R and -F flags
-# - Python 3
+# - Python >= 3.2
# - Terminal emulator with support for Unicode and xterm's 256 color mode
#
#
Something went wrong with that request. Please try again.