Skip to content

Instantly share code, notes, and snippets.

@TheNaterz
Created January 5, 2017 21:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TheNaterz/2a38e1919e90516a382b22f8efd73d5e to your computer and use it in GitHub Desktop.
Save TheNaterz/2a38e1919e90516a382b22f8efd73d5e to your computer and use it in GitHub Desktop.
--- 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