Skip to content

Commit

Permalink
404
Browse files Browse the repository at this point in the history
  • Loading branch information
anarkiwi committed Jun 9, 2024
1 parent 826497d commit 1761b1f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gamutrfwaterfall/gamutrfwaterfall/flask_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,9 @@ def serve(self, path):
except ValueError:
pass

Check warning on line 187 in gamutrfwaterfall/gamutrfwaterfall/flask_handler.py

View check run for this annotation

Codecov / codecov/patch

gamutrfwaterfall/gamutrfwaterfall/flask_handler.py#L182-L187

Added lines #L182 - L187 were not covered by tests

return self.serve_meta(os.path.basename(self.savefig_path))
if path:
return self.serve_meta(os.path.basename(self.savefig_path))
return "%s: not found" % path

Check warning on line 191 in gamutrfwaterfall/gamutrfwaterfall/flask_handler.py

View check run for this annotation

Codecov / codecov/patch

gamutrfwaterfall/gamutrfwaterfall/flask_handler.py#L189-L191

Added lines #L189 - L191 were not covered by tests

def serve_predictions_content(self):
return send_from_directory(self.tempdir, self.predictions_file)
Expand Down

0 comments on commit 1761b1f

Please sign in to comment.