// create the outfile
if not filename:
filename = "lingpy-{0}".format(_timestamp())
// read in the templates
path = os.path.dirname(os.path.realpath(__file__))
html_path = os.path.join(path, "templates", "alm2html.html")
After Change
// create the outfile
if not filename:
filename = rcParams["filename"]
// read in the templates
path = os.path.dirname(os.path.realpath(__file__))
html_path = os.path.join(path, "templates", "alm2html.html")