Skip to content

Commit

Permalink
fix: stringify paths
Browse files Browse the repository at this point in the history
  • Loading branch information
severinsimmler committed Nov 19, 2018
1 parent 21c84b6 commit 3aed2b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions application/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ def init_app(name):
"""
logging.debug("Initializing flask app...")
app = flask.Flask(name,
template_folder=Path("application", "templates"),
static_folder=Path("application", "static"))
template_folder=str(Path("application", "templates")),
static_folder=str(Path("application", "static")))
process = DeadProcess()
return app, process

Expand Down Expand Up @@ -205,4 +205,4 @@ def unlink_content(directory, pattern="*"):

def series2array(s):
for i, v in zip(s.index, s):
yield [i, v]
yield [i, v]

0 comments on commit 3aed2b4

Please sign in to comment.