mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 15:04:08 +02:00
...
This commit is contained in:
parent
a7217edf9b
commit
789f4ab01a
1 changed files with 3 additions and 1 deletions
|
|
@ -188,10 +188,12 @@ def load_object(self, src, key):
|
|||
|
||||
if __name__ == '__main__':
|
||||
st = time.time()
|
||||
count = 0
|
||||
for name, code in download_updates():
|
||||
count += 1
|
||||
print(name)
|
||||
print(code)
|
||||
print('\n', '_'*80, '\n', sep='')
|
||||
print ('Time to download all plugins: %.2f'%( time.time() - st))
|
||||
print ('Time to download all %d plugins: %.2f'%(count, time.time() - st))
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue