from .xlate import __mo_file__ as __xlate_mo_file__
from .xlate import XLATOR, LOCALE_DIR, DOMAIN
-__version__ = '1.0.5'
+__version__ = '1.0.6'
LOG = logging.getLogger(__name__)
SIGNAL_NAMES = {
if not self.cfg_file.exists():
default_conf_file = self.cfg_dir.joinpath(CFGFILE_BASENAME + '.default')
+ cur_dir = Path(os.getcwd())
+ cfg_file_rel = os.path.relpath(str(self.cfg_file), str(cur_dir))
+ default_cfg_file_rel = os.path.relpath(str(default_conf_file), str(cur_dir))
msg = (_(
"Configuration file {f!r} does not exists. Please copy {d!r} to {f!r} and "
"fill out all necessary entries, e.g. the passwords and API keys.").format(
- f=str(self.cfg_file), d=str(default_conf_file)))
+ f=cfg_file_rel, d=default_cfg_file_rel))
LOG.error(msg)
self.exit(1)