print how many ebooks will be examined
parent
62bd22f4c7
commit
2a297bbf02
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue