Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/models/bootloader.py
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/lib/models/bootloader.py')
-rw-r--r--archinstall/lib/models/bootloader.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/archinstall/lib/models/bootloader.py b/archinstall/lib/models/bootloader.py
index be9812a0..fa3f32c8 100644
--- a/archinstall/lib/models/bootloader.py
+++ b/archinstall/lib/models/bootloader.py
@@ -14,12 +14,12 @@ class Bootloader(Enum):
Efistub = 'Efistub'
Limine = 'Limine'
- def json(self):
+ def json(self) -> str:
return self.value
- @classmethod
- def values(cls) -> List[str]:
- return [e.value for e in cls]
+ @staticmethod
+ def values() -> List[str]:
+ return [e.value for e in Bootloader]
@classmethod
def get_default(cls) -> Bootloader: