Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
xiayongfeng committed Dec 24, 2014
1 parent 2f04241 commit 9d9c7c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ def __data_preprocess(data):
index_remainder = index % merge_count
if index_remainder == 0:
new_data['created_at'][index_quotient] = data['created_at'][index]
new_data['used_percent'][index_quotient] = 0
new_data['used_percent'][index_quotient] += data['used_percent'][index]
if index_remainder == merge_count-1:
new_data['used_percent'][index_quotient] = round(
Expand Down

0 comments on commit 9d9c7c7

Please sign in to comment.