diff --git a/storage/badblocks.py b/storage/badblocks.py index 1729364..9344867 100644 --- a/storage/badblocks.py +++ b/storage/badblocks.py @@ -5,8 +5,8 @@ # Should probably only cron it once a week or so. import os -import pycryptsetup -import lvm +import pycryptsetup # requires cryptsetup to be configured with '--enable-python --with-python_version=3.6' (or whatever your python version is) +import lvm # requires lvm2 to be configured with '-enable-python3_bindings' import subprocess def getDisks():