summaryrefslogtreecommitdiff
path: root/type
diff options
context:
space:
mode:
authorScott Gasch <[email protected]>2022-03-06 23:13:50 -0800
committerScott Gasch <[email protected]>2022-03-06 23:13:50 -0800
commitd8a4cb8c9f641d2e64f7416a35fd33fded92d67a (patch)
tree70eaef4f9b98b412e4119f0e5904e3f6eb019c69 /type
parentd2e437a04124fa3c6e3175205f943769ba443393 (diff)
IntEnum -> Enum to fix printing of enum values.
Diffstat (limited to 'type')
-rw-r--r--type/locations.py2
-rw-r--r--type/people.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/type/locations.py b/type/locations.py
index 718a5f1..e02b8ab 100644
--- a/type/locations.py
+++ b/type/locations.py
@@ -6,7 +6,7 @@ import enum
@enum.unique
-class Location(enum.IntEnum):
+class Location(enum.Enum):
"""An enum to represent locations."""
UNKNOWN = 0
diff --git a/type/people.py b/type/people.py
index 3a6f743..d942ebb 100644
--- a/type/people.py
+++ b/type/people.py
@@ -5,7 +5,7 @@
import enum
-class Person(enum.IntEnum):
+class Person(enum.Enum):
"""An enum to represent people."""
UNKNOWN = 0