projecttags.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:isar 作者: ilbers 项目源码 文件源码
def filtered_filesizeformat(value):
    """
    If the value is -1 return an empty string. Otherwise,
    change output from fileformatsize to suppress trailing '.0'
    and change 'bytes' to 'B'.
    """
    if value == -1:
        return ''

    return filesizeformat(value).replace("bytes", "B")
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号