Don't blab on existing releases
This commit is contained in:
parent
40a8841e08
commit
6cdd9fb143
@ -19,7 +19,6 @@ class Command(BaseCommand):
|
|||||||
try:
|
try:
|
||||||
data = releases[release]
|
data = releases[release]
|
||||||
if odyseescraper.models.OdyseeRelease.objects.filter(pk=release).exists():
|
if odyseescraper.models.OdyseeRelease.objects.filter(pk=release).exists():
|
||||||
self.stdout.write(f'Skipping existing release: {str(channel)} - {data['title']}')
|
|
||||||
continue
|
continue
|
||||||
a = odyseescraper.models.OdyseeRelease.objects.get_or_create(
|
a = odyseescraper.models.OdyseeRelease.objects.get_or_create(
|
||||||
id = release,
|
id = release,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user