Merge branch 'lubo' of ssh://git.jerryyan.top:29022/q792602257/XiguaLiveDanmakuHelper into lubo

This commit is contained in:
Jerry Yan 2020-07-02 22:05:27 +08:00
commit 6f9616ccf3

View File

@ -31,7 +31,7 @@ def download():
_size += len(T)
Common.modifyLastDownloadStatus(
"Downloading >{}< @ {:.2f}%".format(path, 100.0 * _size / Common.config["p_s"]))
if _size > Common.config["p_s"]:
if _size > Common.config["p_s"] and not Common.config["dlO"]:
Common.modifyLastDownloadStatus("Download >{}< Exceed MaxSize".format(path))
break
Common.modifyLastDownloadStatus("Download >{}< Finished".format(path))