mirror of
https://github.com/iluvcapra/ptulsconv.git
synced 2025-12-31 08:50:48 +00:00
Added comment
This commit is contained in:
@@ -94,6 +94,9 @@ def make_doc_template(page_size, filename, document_title,
|
||||
|
||||
|
||||
def time_format(mins, zero_str="-"):
|
||||
"""
|
||||
Formats a duration `mins` into a string
|
||||
"""
|
||||
if mins == 0. and zero_str is not None:
|
||||
return zero_str
|
||||
elif mins < 60.:
|
||||
|
||||
Reference in New Issue
Block a user