Skip to content

Commit

Permalink
[sapphire] Make Served Enum an IntEnum
Browse files Browse the repository at this point in the history
  • Loading branch information
tysmith committed Apr 30, 2024
1 parent 63147f5 commit 473fd78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sapphire/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"""
Sapphire HTTP server job
"""
from enum import Enum, unique
from enum import IntEnum, unique
from errno import ENAMETOOLONG
from itertools import chain
from logging import getLogger
Expand All @@ -24,7 +24,7 @@


@unique
class Served(Enum):
class Served(IntEnum):
"""Server Job status codes"""

# all expected requests for required files have been received
Expand Down

0 comments on commit 473fd78

Please sign in to comment.