Fix F821 errors (undefined name references)

pull/1686/head
Mathijs de Bruin 2025-05-16 16:26:10 +01:00
rodzic 84098a041c
commit 01e411958a
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -249,7 +249,7 @@ def get_auto_bands(orthophoto_bands, formula):
max_bands = len(orthophoto_bands) - 1 # minus alpha
filters = get_camera_filters_for(algo['expr'], max_bands)
if not filters:
raise valueError(f"Cannot find filters for {algo} with max bands {max_bands}")
raise ValueError(f"Cannot find filters for {algo} with max bands {max_bands}")
bands_lookup = get_bands_lookup()
band_order = ""

Wyświetl plik

@ -1,5 +1,6 @@
import logging
from django.dispatch import receiver
from django.conf import settings
from app.plugins.signals import task_completed, task_failed, task_removed
from app.plugins.functions import get_current_plugin
from . import email as notification