Fixed directions not being able to be used as json keys
This commit is contained in:
parent
a90bd65025
commit
5e5a685427
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
from enum import Enum
|
||||
|
||||
|
||||
class Directions(Enum):
|
||||
class Directions(str, Enum):
|
||||
INSIDE = "indoor"
|
||||
OUTSIDE = "outdoor"
|
||||
|
||||
|
|
Loading…
Reference in a new issue