mirror of
https://github.com/jketterl/openwebrx.git
synced 2025-12-06 07:12:09 +01:00
restore python 3.5 compatibility
This commit is contained in:
parent
3b9763eee5
commit
d872152cc8
|
|
@ -17,7 +17,7 @@ from owrx.form.converter import OptionalConverter
|
|||
from owrx.form.device import GainInput, SchedulerInput, WaterfallLevelsInput
|
||||
from owrx.controllers.settings import Section
|
||||
from typing import List
|
||||
from enum import Enum, auto
|
||||
from enum import Enum
|
||||
|
||||
import logging
|
||||
|
||||
|
|
@ -36,14 +36,14 @@ class SdrSourceState(Enum):
|
|||
|
||||
|
||||
class SdrBusyState(Enum):
|
||||
IDLE = auto()
|
||||
BUSY = auto()
|
||||
IDLE = 1
|
||||
BUSY = 2
|
||||
|
||||
|
||||
class SdrClientClass(Enum):
|
||||
INACTIVE = auto()
|
||||
BACKGROUND = auto()
|
||||
USER = auto()
|
||||
INACTIVE = 1
|
||||
BACKGROUND = 2
|
||||
USER = 3
|
||||
|
||||
|
||||
class SdrSourceEventClient(object):
|
||||
|
|
|
|||
Loading…
Reference in a new issue