support backticks in dusty imports

This commit is contained in:
Infinidoge 2025-01-02 18:40:50 -05:00
parent 8726916c50
commit 794efb68b8
Signed by: Infinidoge
SSH key fingerprint: SHA256:EMoPe5e2dO0gEvtBb2xkZTz5dkyL0rBmuiGTKG5s96E

View file

@ -12,7 +12,7 @@ from .utils import confirm
log = logging.getLogger("nomen.settings") log = logging.getLogger("nomen.settings")
log.setLevel(logging.INFO) log.setLevel(logging.INFO)
DUSTY_DATA_LINE = re.compile(r"^(.+) notified (\d+) times$") DUSTY_DATA_LINE = re.compile(r"^`?(.+)`? notified `?(\d+)`? times$")
class InvalidImportFormat(Exception): class InvalidImportFormat(Exception):