1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 16:36:15 +00:00

fix bug when view snapshot file (#5271)

Co-authored-by: lian <lian@seafile.com>
This commit is contained in:
lian
2022-10-07 22:29:41 +08:00
committed by GitHub
parent 647123fd2c
commit 151ec816a9

View File

@@ -893,6 +893,9 @@ def view_lib_file(request, repo_id, path):
return render(request, template, return_dict)
def view_history_file_common(request, repo_id, ret_dict):
ret_dict['err'] = ''
# check arguments
repo = get_repo(repo_id)
if not repo: