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

Clean code

This commit is contained in:
xiez
2012-07-23 22:49:09 +08:00
parent 4b2558a6c5
commit acf3dfdf6b
3 changed files with 15 additions and 14 deletions

View File

@@ -22,7 +22,7 @@ PREVIEW_FILEEXT = {
'Text': ('ac', 'am', 'bat', 'c', 'cc', 'cmake', 'cpp', 'css', 'diff', 'h', 'html', 'java', 'js', 'json', 'less', 'make', 'markdown', 'org', 'php', 'properties', 'py', 'rb', 'scala', 'script', 'sh', 'sql', 'txt','text', 'vi', 'vim'),
'Image': ('gif', 'jpeg', 'jpg', 'png'),
'SVG': ('svg',),
'Document': ('doc', 'docx', 'ppt', 'pptx'),
'Document': ('doc', 'docx', 'ppt', 'pptx', 'xls', 'xlsx'),
}
def go_permission_error(request, msg=None):