index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Dylan Taylor <dylan@dylanmtaylor.com> | 2021-05-15 14:46:40 -0400 |
---|---|---|
committer | Dylan Taylor <dylan@dylanmtaylor.com> | 2021-05-15 15:04:39 -0400 |
commit | 126c7ebfca16156d4e1c738a5f562ba99a4ab5f2 (patch) | |
tree | 86c100b61b2793233a98965369e904c338ff47ba /archinstall/lib/luks.py | |
parent | 3b3c1c1d7042d6caffb045b49817a0da4b16ade3 (diff) |
-rw-r--r-- | archinstall/lib/luks.py | 3 |
diff --git a/archinstall/lib/luks.py b/archinstall/lib/luks.py index e6e1c897..1cb6777f 100644 --- a/archinstall/lib/luks.py +++ b/archinstall/lib/luks.py @@ -5,7 +5,7 @@ from .general import * from .output import log -class luks2(): +class luks2: def __init__(self, partition, mountpoint, password, key_file=None, auto_unmount=False, *args, **kwargs): self.password = password self.partition = partition @@ -120,6 +120,7 @@ class luks2(): :type mountpoint: str """ from .disk import get_filesystem_type + if '/' in mountpoint: os.path.basename(mountpoint) # TODO: Raise exception instead? |