This commit is contained in:
2025-08-11 22:34:24 +02:00
parent 79156f35c8
commit df02a9db5e

View File

@@ -6,7 +6,7 @@ class Command(BaseCommand):
help = 'Checks for new media and sends notifications' help = 'Checks for new media and sends notifications'
def handle(self, *args, **kwargs): def handle(self, *args, **kwargs):
self.stdout.write(f'[{timezone.now()}] Starting media check...') self.stdout.write(f'[{timezone.now()}] Starting media check...')
try: try:
check_and_notify_users() check_and_notify_users()
self.stdout.write(self.style.SUCCESS(f'[{timezone.now()}] Media check finished successfully')) self.stdout.write(self.style.SUCCESS(f'[{timezone.now()}] Media check finished successfully'))