Skip to content

Commit

Permalink
Fix bug in API
Browse files Browse the repository at this point in the history
  • Loading branch information
suchow committed Sep 28, 2015
1 parent 64543e7 commit ba7add3
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 ba7add3

Please sign in to comment.