forked from organicmaps/organicmaps
[python] Fixed logic for osmctools building.
This commit is contained in:
parent
7787691753
commit
fc6e021abf
1 changed files with 1 additions and 1 deletions
|
@ -297,7 +297,7 @@ class Env:
|
|||
]
|
||||
|
||||
logger.info("Check osm tools ...")
|
||||
if Env._create_if_not_exist(path):
|
||||
if not Env._create_if_not_exist(path):
|
||||
tmp_paths = [os.path.join(path, t) for t in osm_tool_names]
|
||||
if all([is_executable(t) for t in tmp_paths]):
|
||||
osm_tool_paths = dict(zip(osm_tool_names, tmp_paths))
|
||||
|
|
Loading…
Add table
Reference in a new issue