diff --git a/slpkg/blacklist.py b/slpkg/blacklist.py index d3048283..242e06a6 100644 --- a/slpkg/blacklist.py +++ b/slpkg/blacklist.py @@ -32,8 +32,8 @@ class Blacklist(Configs): return tomli.load(black)['BLACKLIST']['PACKAGES'] except (tomli.TOMLDecodeError, KeyError) as error: raise SystemExit(f"\n{self.prog_name} {self.bred}Error{self.endc}: {error}: in the configuration file " - f"'/etc/slpkg/blacklist.toml'.\n" + f"'{self.blacklist_file_toml}'.\n" f"\nIf you have upgraded the '{self.prog_name}' probably you need to run:\n" - f"'mv {self.etc_path}/blacklist.toml.new {self.etc_path}/blacklist.toml'.\n" + f"'mv {self.blacklist_file_toml}.new {self.blacklist_file_toml}'.\n" f"or '{self.cyan}slpkg_new-configs{self.endc}' command.\n") return []