Skip to content

Commit

Permalink
small refractor
Browse files Browse the repository at this point in the history
  • Loading branch information
jaroslaw-wieczorek committed May 11, 2017
1 parent 95582ba commit 836a205
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions configuration.ini
Original file line number Diff line number Diff line change
@@ -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

10 changes: 5 additions & 5 deletions converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down
2 changes: 1 addition & 1 deletion recipe_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

from PyQt5.QtGui import QFont


from PyQt5.QtWidgets import QLabel
from PyQt5.QtWidgets import QDialog
from PyQt5.QtWidgets import QLineEdit
Expand All @@ -34,6 +33,7 @@

import zipfile
from zipfile import ZipFile

import subprocess
from subprocess import check_call

Expand Down

0 comments on commit 836a205

Please sign in to comment.