Skip to content

Commit

Permalink
修改bug
Browse files Browse the repository at this point in the history
修改bug
  • Loading branch information
Jack-Cherish authored Jan 28, 2018
1 parent 6273e39 commit 700efb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions one_hour_spider/biqukan.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,6 @@ def writer(self, name, path, text):
print('《一年永恒》开始下载:')
for i in range(dl.nums):
dl.writer(dl.names[i], '一念永恒.txt', dl.get_contents(dl.urls[i]))
sys.stdout.write(" 已下载:%.3f%%" % float(i/dl.nums) + '\r')
sys.stdout.write(" 已下载:%.3f%%" % float(i/dl.nums*100) + '\r')
sys.stdout.flush()
print('《一年永恒》下载完成')
print('《一年永恒》下载完成')

0 comments on commit 700efb3

Please sign in to comment.