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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user