From 9dcaaf2992bfa22ca19666dabf205dbab1dd51e5 Mon Sep 17 00:00:00 2001 From: dylanljones Date: Fri, 29 Dec 2023 17:13:28 +0100 Subject: [PATCH] fix import --- pyrekordbox/db6/smart_playlist.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyrekordbox/db6/smart_playlist.py b/pyrekordbox/db6/smart_playlist.py index 9af5df5..a371102 100644 --- a/pyrekordbox/db6/smart_playlist.py +++ b/pyrekordbox/db6/smart_playlist.py @@ -3,7 +3,7 @@ # Date: 2023-12-13 import xml.etree.cElementTree as xml -from enum import StrEnum, IntEnum +from enum import Enum, IntEnum from typing import List, Union from datetime import datetime from dataclasses import dataclass @@ -41,7 +41,7 @@ class Operator(IntEnum): ENDS_WITH = 11 -class Property(StrEnum): +class Property(Enum): ARTIST = "artist" ALBUM = "album" ALBUM_ARTIST = "albumartist"