From d8a4cb8c9f641d2e64f7416a35fd33fded92d67a Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Sun, 6 Mar 2022 23:13:50 -0800 Subject: [PATCH] IntEnum -> Enum to fix printing of enum values. --- type/locations.py | 2 +- type/people.py | 2 +- 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 -- 2.47.1