Skip to content

Commit

Permalink
🐛 fixed numerical errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
AirportR committed Apr 13, 2024
1 parent 798582d commit ea0c166
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/cleaner.py
Original file line number Diff line number Diff line change
Expand Up @@ -1408,7 +1408,7 @@ def padding(self):
new_list.append(maxspeed)
self.data['最大速度'] = new_list
if '每秒速度' in self.data:
self.data['每秒速度'] = [[j / 1024 / 1024 for j in i] for i in self.data['每秒速度']]
self.data['每秒速度'] = [[self.format_size(j) for j in i] for i in self.data['每秒速度']]

def calc_used(self):
if '每秒速度' in self.data and '消耗流量' not in self.data:
Expand Down

0 comments on commit ea0c166

Please sign in to comment.