diff --git a/configuration.ini b/configuration.ini index 5f6b063..f5d6b1c 100644 --- a/configuration.ini +++ b/configuration.ini @@ -1,6 +1,6 @@ [user] -default-book-name = dokument -font-size = 10 +font-size = 12 default-recipe = doc.zip -font-name = DejaVu Sans +font-name = Carlito +default-book-name = dokument2 diff --git a/converter.py b/converter.py index a53a422..848d00f 100644 --- a/converter.py +++ b/converter.py @@ -21,11 +21,11 @@ def install_pandoc(): def convert(source, to, format, outputfile=None, variables={}, encoding='utf-8', extra_args=()): - """Wrapper around pypandoc.convert() - - :param dict variables: dictionary with values for template. - If some value of dictionary is list every argument - of it is passed separately to Pandoc""" + """ + Wrapper around pypandoc.convert() :param dict variables: dictionary with + values for template. If some value of dictionary is list every argument + of it is passed separately to Pandoc. + """ args = [] args.extend(extra_args) for k, v in variables.items(): diff --git a/recipe_dialog.py b/recipe_dialog.py index 8d5e1b4..e320770 100644 --- a/recipe_dialog.py +++ b/recipe_dialog.py @@ -10,7 +10,6 @@ from PyQt5.QtGui import QFont - from PyQt5.QtWidgets import QLabel from PyQt5.QtWidgets import QDialog from PyQt5.QtWidgets import QLineEdit @@ -34,6 +33,7 @@ import zipfile from zipfile import ZipFile + import subprocess from subprocess import check_call