Created
January 5, 2017 21:19
-
-
Save TheNaterz/2a38e1919e90516a382b22f8efd73d5e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- polenum-0.2/polenum.py 2017-01-05 14:13:53.305343243 -0700 | |
+++ /home/thenaterz/Downloads/polenum-0.2/polenum.py 2008-08-22 07:44:38.000000000 -0600 | |
@@ -101,11 +101,11 @@ | |
if hours > 1: | |
time += str(hours) + " hours " | |
elif hours == 1: | |
- time = str(hours) + " hour " | |
+ time = str(days) + " hour " | |
if minutes > 1: | |
time += str(minutes) + " minutes" | |
elif minutes == 1: | |
- time = str(minutes) + " minute " | |
+ time = str(days) + " minute " | |
return time | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment