Updated fpdf to the last version (py3 compatible), fix contrib/appconfig
This commit is contained in:
@@ -4,13 +4,13 @@
|
||||
"FPDF for python"
|
||||
|
||||
__license__ = "LGPL 3.0"
|
||||
__version__ = "1.7"
|
||||
__version__ = "1.7.2"
|
||||
|
||||
from fpdf import *
|
||||
from .fpdf import FPDF, FPDF_FONT_DIR, FPDF_VERSION, SYSTEM_TTFONTS, set_global, FPDF_CACHE_MODE, FPDF_CACHE_DIR
|
||||
try:
|
||||
from html import HTMLMixin
|
||||
from .html import HTMLMixin
|
||||
except ImportError:
|
||||
import warnings
|
||||
warnings.warn("web2py gluon package not installed, required for html2pdf")
|
||||
|
||||
from template import Template
|
||||
from .template import Template
|
||||
|
||||
Reference in New Issue
Block a user