fix cron
This commit is contained in:
		| @@ -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')) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user