forked from mirrors/bookwyrm
Fix test for unit test requests
This commit is contained in:
parent
05f11e68c5
commit
81594892ef
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ def maybe_redirect_local_path(request, model):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# don't redirect empty path for unit tests which currently have this
|
# don't redirect empty path for unit tests which currently have this
|
||||||
if request.path == "" or request.path == model.local_path:
|
if request.path == "/" or request.path == model.local_path:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
new_path = model.local_path
|
new_path = model.local_path
|
||||||
|
|
Loading…
Reference in a new issue