print how many ebooks will be examined

pull/94/head
eric 2021-05-07 16:55:42 -04:00
parent 62bd22f4c7
commit 2a297bbf02
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ class Command(BaseCommand):
onlines = (Ebook.objects.get(id=id) for id in online_ids) onlines = (Ebook.objects.get(id=id) for id in online_ids)
done = 0 done = 0
providers = {} providers = {}
self.stdout.write('%s onlines to check' % onlines.count())
for online in onlines: for online in onlines:
if trace: if trace:
self.stdout.write(str(online.id)) self.stdout.write(str(online.id))