Skip to content

Commit

Permalink
统一标点符号
Browse files Browse the repository at this point in the history
  • Loading branch information
DLmaster361 committed Dec 17, 2024
1 parent 8c9bcba commit ccdaefe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,11 @@ def run(self):
# 更新下载进度
if speed >= 1024:
self.info.emit(
f"正在下载:{self.name} 已下载: {downloaded_size / 1048576:.2f}/{file_size / 1048576:.2f} MB ({downloaded_size / file_size * 100:.2f}%) 下载速度 {speed / 1024:.2f} MB/s",
f"正在下载:{self.name} 已下载{downloaded_size / 1048576:.2f}/{file_size / 1048576:.2f} MB {downloaded_size / file_size * 100:.2f}% 下载速度{speed / 1024:.2f} MB/s",
)
else:
self.info.emit(
f"正在下载:{self.name} 已下载: {downloaded_size / 1048576:.2f}/{file_size / 1048576:.2f} MB ({downloaded_size / file_size * 100:.2f}%) 下载速度 {speed:.2f} KB/s",
f"正在下载:{self.name} 已下载{downloaded_size / 1048576:.2f}/{file_size / 1048576:.2f} MB {downloaded_size / file_size * 100:.2f}% 下载速度{speed:.2f} KB/s",
)
self.progress.emit(0, 100, int(downloaded_size / file_size * 100))

Expand Down

0 comments on commit ccdaefe

Please sign in to comment.