blob: 032bdb909a24e2d8076168c158fd66c0dec772a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
diff --git a/spleeter/audio/__init__.py b/spleeter/audio/__init__.py
index a2f56f4..fcc80cf 100644
--- a/spleeter/audio/__init__.py
+++ b/spleeter/audio/__init__.py
@@ -10,14 +10,14 @@ tools for manipulating audio content such as :
- Waveform convertion and transforming functions.
"""
-from enum import Enum
+from enum import StrEnum
__email__ = "spleeter@deezer.com"
__author__ = "Deezer Research"
__license__ = "MIT License"
-class Codec(str, Enum):
+class Codec(StrEnum):
"""Enumeration of supported audio codec."""
WAV: str = "wav"
|