Fixed output of unicode in projects_stats mgmnt command
This commit is contained in:
parent
72ca0fe69c
commit
be280d58f9
@ -894,8 +894,8 @@ def project_stats():
|
|||||||
'_id': 1}):
|
'_id': 1}):
|
||||||
project_id = proj['_id']
|
project_id = proj['_id']
|
||||||
row = [str(project_id),
|
row = [str(project_id),
|
||||||
str(proj['user']),
|
unicode(proj['user']).encode('utf-8'),
|
||||||
str(proj['name'])]
|
unicode(proj['name']).encode('utf-8')]
|
||||||
|
|
||||||
file_size = projects.project_total_file_size(project_id)
|
file_size = projects.project_total_file_size(project_id)
|
||||||
row.append(file_size)
|
row.append(file_size)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user