diff options
Diffstat (limited to 'sbhs_server/webcam/management/commands/reload_images.py')
-rw-r--r-- | sbhs_server/webcam/management/commands/reload_images.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sbhs_server/webcam/management/commands/reload_images.py b/sbhs_server/webcam/management/commands/reload_images.py deleted file mode 100644 index 5b735cb..0000000 --- a/sbhs_server/webcam/management/commands/reload_images.py +++ /dev/null @@ -1,12 +0,0 @@ -from django.core.management.base import BaseCommand -from sbhs_server.tables.models import Board -from sbhs_server.webcam.views import load_image - -class Command(BaseCommand): - args = '' - help = 'Reloads images for all SBHS machines' - - def handle(self, *args, **options): - boards = Board.objects.all() - for b in boards: - load_image(b.mid) |