Created
January 5, 2017 21:21
-
-
Save TheNaterz/b0f40ceb198b44a33cd0c4c4d2013d67 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
--- /home/thenaterz/Downloads/polenum-0.2/polenum.py 2008-08-22 07:44:38.000000000 -0600 | |
+++ polenum-0.2/polenum.py 2017-01-05 14:13:53.305343243 -0700 | |
@@ -101,11 +101,11 @@ | |
if hours > 1: | |
time += str(hours) + " hours " | |
elif hours == 1: | |
- time = str(days) + " hour " | |
+ time = str(hours) + " hour " | |
if minutes > 1: | |
time += str(minutes) + " minutes" | |
elif minutes == 1: | |
- time = str(days) + " minute " | |
+ time = str(minutes) + " minute " | |
return time | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment