mirror of
https://github.com/haiwen/seahub.git
synced 2025-10-20 10:20:42 +00:00
Update views.py
This commit is contained in:
@@ -91,7 +91,7 @@ def slug(request, slug, file_path="home.md"):
|
||||
|
||||
try:
|
||||
fs = FileShare.objects.get(repo_id=wiki.repo_id, path='/')
|
||||
except FileShare.DoseNotExist:
|
||||
except FileShare.DoesNotExist:
|
||||
fs = FileShare.objects.create_dir_link(wiki.username, wiki.repo_id, '/',
|
||||
permission='view_download')
|
||||
wiki.permission = 'public'
|
||||
|
Reference in New Issue
Block a user