1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-07 18:03:48 +00:00

Changed rpc name

This commit is contained in:
zhengxie
2012-12-24 16:53:32 +08:00
parent 6c4cf35110
commit 05c8280e40
4 changed files with 10 additions and 15 deletions

View File

@@ -543,7 +543,7 @@ def get_starred_files(email, org_id=-1):
size = -1;
if sfile.path != "/":
try:
file_id = seafserv_threaded_rpc.get_file_by_path(sfile.repo_id, sfile.path)
file_id = seafserv_threaded_rpc.get_file_id_by_path(sfile.repo_id, sfile.path)
size = seafserv_threaded_rpc.get_file_size(file_id)
except SearpcError:
continue