mirror of
https://github.com/iluvcapra/ptulsconv.git
synced 2025-12-31 08:50:48 +00:00
Style
This commit is contained in:
@@ -2,7 +2,9 @@ from reportlab.pdfbase.pdfmetrics import (getAscent, getDescent)
|
||||
from reportlab.lib.units import inch
|
||||
from reportlab.pdfgen import canvas
|
||||
import datetime
|
||||
from reportlab.platypus.doctemplate import BaseDocTemplate, Frame, PageTemplate
|
||||
from reportlab.platypus.doctemplate import BaseDocTemplate, PageTemplate
|
||||
from reportlab.platypus.frames import Frame
|
||||
|
||||
|
||||
# This is from https://code.activestate.com/recipes/576832/ for
|
||||
# generating page count messages
|
||||
@@ -74,7 +76,6 @@ def make_doc_template(page_size, filename, document_title, record, document_head
|
||||
return doc
|
||||
|
||||
|
||||
|
||||
def time_format(mins, zero_str=""):
|
||||
if mins == 0. and zero_str is not None:
|
||||
return zero_str
|
||||
|
||||
Reference in New Issue
Block a user