1
0
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:
ilearnit
2019-04-17 15:08:18 +08:00
committed by GitHub
parent 4dd8dfa922
commit b83f2b9491

View File

@@ -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'