1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-31 14:42:10 +00:00

Fix rpc bug

This commit is contained in:
plt
2012-07-14 22:41:32 +08:00
parent 0ecb2f4e54
commit 0978c0abe3

View File

@@ -1883,7 +1883,7 @@ def view_shared_file(request, token):
quote_filename = urllib2.quote(filename.encode('utf-8'))
try:
obj_id = seafserv_rpc.get_file_by_path(repo_id, path)
obj_id = seafserv_threaded_rpc.get_file_by_path(repo_id, path)
except:
obj_id = None