We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
已有的issues都看了,没看到类似的问题,如有重复,麻烦作者删除此issues
我的配置
❯ vnstat -v vnStat 2.6 by Teemu Toivola <tst at iki dot fi>
文件 client/src/stat_client.py
if packet_queue.qsize() > 30: G_LOST_RATE[mark] = float(packet_lost) / packet_queue.qsize()
返回的数据没有去掉小数点后的数字
我改了一下代码
if packet_queue.qsize() > 30: packet_lost_rate = float(packet_lost) / packet_queue.qsize() G_LOST_RATE[mark] = round(packet_lost_rate,2)
The text was updated successfully, but these errors were encountered:
赞,可以提个 PR !
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
已有的issues都看了,没看到类似的问题,如有重复,麻烦作者删除此issues
我的配置
文件 client/src/stat_client.py
返回的数据没有去掉小数点后的数字
现象
我改了一下代码
The text was updated successfully, but these errors were encountered: