1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-16 07:08:55 +00:00

don't count block download into traffic stat

This commit is contained in:
lins05
2013-04-01 16:12:53 +08:00
parent ec9976b44f
commit 53d0187117

View File

@@ -829,8 +829,7 @@ def myhome(request):
# User's network traffic stat in this month
stat = get_user_traffic_stat(request.user.username)
if stat:
traffic_stat = stat['block_download'] + stat['file_view'] \
+ stat['file_download'] + stat['dir_download']
traffic_stat = stat['file_view'] + stat['file_download'] + stat['dir_download']
return render_to_response('myhome.html', {
"nickname": nickname,