fix 开始下载消息种子大小
This commit is contained in:
parent
f697e16447
commit
4de5a5e7af
@ -36,7 +36,7 @@ class DownloadChain(ChainBase):
|
|||||||
if meta.resource_term:
|
if meta.resource_term:
|
||||||
msg_text = f"{msg_text}\n质量:{meta.resource_term}"
|
msg_text = f"{msg_text}\n质量:{meta.resource_term}"
|
||||||
if torrent.size:
|
if torrent.size:
|
||||||
if str(torrent.size).isdigit():
|
if str(torrent.size).replace(".", "").isdigit():
|
||||||
size = StringUtils.str_filesize(torrent.size)
|
size = StringUtils.str_filesize(torrent.size)
|
||||||
else:
|
else:
|
||||||
size = torrent.size
|
size = torrent.size
|
||||||
|
Loading…
x
Reference in New Issue
Block a user