BangumiBot icon indicating copy to clipboard operation
BangumiBot copied to clipboard

修复当不使用专用的下载器而经常报错的问题

Open xyqyear opened this issue 1 year ago • 0 comments

问题表现:如果不使用给BangumiBot专用的下载器,而是连接一个已经有种子的下载器的话,BangumiBot会尝试在redis数据库中查找这些种子的信息。因为这些种子信息在redis中不存在,rename函数中的info为None,所以会报错。

PS: 因为不知道贵项目使用的什么代码格式化器,就没有格式化这一行过长的代码。

xyqyear avatar Apr 16 '23 01:04 xyqyear