Skip to content

Commit

Permalink
Fixing the enum to allow it be cast to an int
Browse files Browse the repository at this point in the history
  • Loading branch information
QuinnDamerell authored Jul 6, 2024
1 parent ed4ac21 commit 75dd9d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions py_installer/Context.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import os
import json
from enum import Enum
from enum import IntEnum

from octoeverywhere.telemetry import Telemetry

Expand All @@ -9,7 +9,7 @@

# Indicates the OS type this installer is running on.
# These can't changed, only added to, since they are using to write on disk and such.
class OsTypes(Enum):
class OsTypes(IntEnum):
Debian = 1
SonicPad = 2
K1 = 3 # Both the K1 and K1 Max
Expand Down

0 comments on commit 75dd9d3

Please sign in to comment.