Skip to content

Commit

Permalink
Fix bug in API
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Suchow authored and laraross committed Sep 27, 2015
1 parent 8c12a6d commit 2fcc8ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def lint():
status="error",
message="No job with requested job_id."), 404

elif not job.result:
elif job.result is None:
return jsonify(
status="error",
message="Job is not yet ready."), 202
Expand Down

0 comments on commit 2fcc8ab

Please sign in to comment.