Skip to content

Commit

Permalink
audio: use StrEnum (#3084)
Browse files Browse the repository at this point in the history
  • Loading branch information
codefiles authored Jan 7, 2025
1 parent 40210f8 commit 6398f68
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions archinstall/lib/models/audio_configuration.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
from dataclasses import dataclass
from enum import Enum
from enum import StrEnum, auto

from ...default_profiles.applications.pipewire import PipewireProfile
from ..hardware import SysInfo
from ..installer import Installer
from ..output import info


class Audio(Enum):
class Audio(StrEnum):
NO_AUDIO = 'No audio server'
PIPEWIRE = 'pipewire'
PULSEAUDIO = 'pulseaudio'
PIPEWIRE = auto()
PULSEAUDIO = auto()


@dataclass
Expand Down

0 comments on commit 6398f68

Please sign in to comment.