Fix user_interaction import as well - this is also in the parent directory.
This commit is contained in:
parent
a6629815e3
commit
4689d837e1
|
|
@ -98,7 +98,7 @@ class Filesystem:
|
|||
if storage['arguments'] == 'silent':
|
||||
raise ValueError(f"Missing encryption password for {partition['device_instance']}")
|
||||
else:
|
||||
from .user_interaction import get_password
|
||||
from ..user_interaction import get_password
|
||||
partition['password'] = get_password(f"Enter a encryption password for {partition['device_instance']}")
|
||||
|
||||
partition['device_instance'].encrypt(password=partition['password'])
|
||||
|
|
|
|||
Loading…
Reference in New Issue