mentions.py 文件源码

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

项目:twtxt 作者: buckket 项目源码 文件源码
def get_source_by_name(nick):
    nick = nick.lower()
    conf = click.get_current_context().obj["conf"]
    if nick == conf.nick and conf.twturl:
        return conf.source
    return next((source for source in conf.following if nick == source.nick), None)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号