diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..bad1504 --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1633217312285 + + + 1633221191797 + + + 1633221729867 + + + + + + + \ No newline at end of file diff --git a/ptulsconv/pdf/__init__.py b/ptulsconv/pdf/__init__.py index 8465f02..cf17a3a 100644 --- a/ptulsconv/pdf/__init__.py +++ b/ptulsconv/pdf/__init__.py @@ -104,6 +104,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 is None: return zero_str if mins == 0. and zero_str is not None: