kopia lustrzana https://github.com/OpenDroneMap/WebODM
Fix F821 errors (undefined name references)
rodzic
84098a041c
commit
01e411958a
|
@ -249,7 +249,7 @@ def get_auto_bands(orthophoto_bands, formula):
|
||||||
max_bands = len(orthophoto_bands) - 1 # minus alpha
|
max_bands = len(orthophoto_bands) - 1 # minus alpha
|
||||||
filters = get_camera_filters_for(algo['expr'], max_bands)
|
filters = get_camera_filters_for(algo['expr'], max_bands)
|
||||||
if not filters:
|
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()
|
bands_lookup = get_bands_lookup()
|
||||||
band_order = ""
|
band_order = ""
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
import logging
|
import logging
|
||||||
from django.dispatch import receiver
|
from django.dispatch import receiver
|
||||||
|
from django.conf import settings
|
||||||
from app.plugins.signals import task_completed, task_failed, task_removed
|
from app.plugins.signals import task_completed, task_failed, task_removed
|
||||||
from app.plugins.functions import get_current_plugin
|
from app.plugins.functions import get_current_plugin
|
||||||
from . import email as notification
|
from . import email as notification
|
||||||
|
|
Ładowanie…
Reference in New Issue