switch to osm2pgsql flex style by default

This commit is contained in:
Sarah Hoffmann
2022-12-16 11:23:33 +01:00
parent 2ca83efc36
commit c32f686c62

View File

@@ -172,7 +172,7 @@ class Configuration:
style = getattr(self, 'IMPORT_STYLE')
if style in ('admin', 'street', 'address', 'full', 'extratags'):
return self.config_dir / f'import-{style}.style'
return self.config_dir / f'import-{style}.lua'
return self.find_config_file('', 'IMPORT_STYLE')