Reformat files using black.

This commit is contained in:
Tom Hacohen committed 2020-12-29 15:37:11 +02:00
1 parent e6b47ae1a9
commit 8bf04fc286
2 files changed
+11 -3

No files matched your search

+3 -1
View File
@@ -56,7 +56,9 @@ def _sanitize_path(filepath):
try:
filepath_abs.relative_to(path_root)
except ValueError:
raise HttpError("generic", "{} wrt {} is impossible".format(filepath_abs, path_root), status_code=status.HTTP_404_NOT_FOUND)
raise HttpError(
"generic", "{} wrt {} is impossible".format(filepath_abs, path_root), status_code=status.HTTP_404_NOT_FOUND
)
return filepath_abs