Skip to content

Commit

Permalink
Lint the file, not the name in worker function
Browse files Browse the repository at this point in the history
  • Loading branch information
suchow committed Mar 8, 2016
1 parent 20d8590 commit 40d96f5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app.py
Expand Up @@ -28,8 +28,7 @@ def worker_function(text):
filename = os.path.join("tmp", "{}.md".format(id))
with io.open(filename, "w+", encoding='utf8') as f:
f.write(text)

return command_line.lint(filename)
return command_line.lint(f)


@app.errorhandler(429)
Expand Down

0 comments on commit 40d96f5

Please sign in to comment.