index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Himadri Bhattacharjee <107522312+lavafroth@users.noreply.github.com> | 2023-06-23 07:46:30 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-23 09:46:30 +0200 |
commit | 27a474ed4a2ac8c2cc001f7bb969fee494636af4 (patch) | |
tree | 5d2cddf4f1be9168fd687a000dfcdc182750e726 | |
parent | 748f03cdb1fbd28becf2d455d7137b21934f84fe (diff) |
-rw-r--r-- | archinstall/lib/disk/fido.py | 4 |
diff --git a/archinstall/lib/disk/fido.py b/archinstall/lib/disk/fido.py index 83b85d08..d8c8fd3c 100644 --- a/archinstall/lib/disk/fido.py +++ b/archinstall/lib/disk/fido.py @@ -36,9 +36,9 @@ class Fido2: # to prevent continous reloading which will slow # down moving the cursor in the menu if not cls._loaded or reload: - ret = "" + ret: Optional[str] = None try: - ret = Optional[str] = SysCommand(f"systemd-cryptenroll --fido2-device=list").decode('UTF-8') + ret = SysCommand("systemd-cryptenroll --fido2-device=list").decode('UTF-8') except: error('fido2 support is most likely not installed') if not ret: |