Moved mod_str function from forms.py back to stats.py, and black formatting.

This commit is contained in:
Mark Wolfman
2021-07-07 10:29:46 -05:00
parent 8a054b335f
commit a31b9eb42c
10 changed files with 99 additions and 59 deletions
+6 -1
View File
@@ -43,7 +43,12 @@ def _remove_temp_files(basename_):
filename.unlink()
def create_latex_pdf(tex: str, basename: str, keep_temp_files: bool=False, use_dnd_decorations: bool=False):
def create_latex_pdf(
tex: str,
basename: str,
keep_temp_files: bool = False,
use_dnd_decorations: bool = False,
):
# Create tex document
tex_file = f"{basename}.tex"
with open(tex_file, mode="w", encoding="utf-8") as f: