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

fixed bug in view_file_via_shared_dir

This commit is contained in:
llj
2013-02-24 17:26:26 +08:00
parent 086c03a068
commit cfa3b8c37e

View File

@@ -2708,7 +2708,7 @@ def view_file_via_shared_dir(request, token):
raw_path = gen_file_get_url(access_token, quote_filename)
# get file content
file_enc = request.GET.get('file_enc', 'auto')
err, file_content, swf_exists, filetype, encoding = get_file_content(filetype, raw_path, obj_id, fileext, file_enc)
err, file_content, swf_exists, filetype = get_file_content(filetype, raw_path, file_id, fileext, file_enc)
zipped = gen_path_link(path, '')