All tools inherit "Dependency".

This commit is contained in:
derv82 committed 2018-04-21 11:34:30 -04:00
1 parent 1083db6f88
commit 0adcd55742
12 files changed
+83 -16

No files matched your search

+3
View File
@@ -24,6 +24,9 @@ class Timer(object):
@staticmethod
def secs_to_str(seconds):
'''Human-readable seconds. 193 -> 3m13s'''
if seconds < 0:
return '-%ds' % seconds
rem = int(seconds)
hours = rem / 3600
mins = (rem % 3600) / 60