diff --git a/tools/python/maps_generator/generator/osmtools.py b/tools/python/maps_generator/generator/osmtools.py index 0132077fc..bf978c178 100644 --- a/tools/python/maps_generator/generator/osmtools.py +++ b/tools/python/maps_generator/generator/osmtools.py @@ -34,7 +34,7 @@ def build_osmtools(path, output=subprocess.DEVNULL, error=subprocess.DEVNULL): if c.wait() != os.EX_OK: messages.append(f"The launch of {' '.join(c.args)} failed.") if messages: - raise BadExitStatusError("\n".split(messages)) + raise BadExitStatusError("\n".join(messages)) return result