Skip to content

Commit

Permalink
Flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
JelteF committed May 8, 2017
1 parent d2a783c commit 43023cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions pylatex/figure.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,5 +162,3 @@ def __init__(self, filename,
super().__init__(command=self._latex_name, arguments=arguments,
options=image_options,
extra_arguments=extra_arguments)


3 changes: 2 additions & 1 deletion pylatex/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def escape_latex(s):


def fix_filename(path):
"""Fix filenames for use in LaTeX.
r"""Fix filenames for use in LaTeX.
Latex has problems if there are one or more points in the filename, thus
'abc.def.jpg' will be changed to '{abc.def}.jpg'
Expand Down Expand Up @@ -322,6 +322,7 @@ def verbatim(s, *, delimiter='|'):

return NoEscape(r'\verb' + delimiter + s + delimiter)


def make_temp_dir():
"""Create a temporary directory if it doesn't exist.
Expand Down

0 comments on commit 43023cc

Please sign in to comment.