mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-06 17:33:18 +00:00
Fix rpc bug
This commit is contained in:
2
views.py
2
views.py
@@ -1883,7 +1883,7 @@ def view_shared_file(request, token):
|
|||||||
quote_filename = urllib2.quote(filename.encode('utf-8'))
|
quote_filename = urllib2.quote(filename.encode('utf-8'))
|
||||||
|
|
||||||
try:
|
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:
|
except:
|
||||||
obj_id = None
|
obj_id = None
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user