X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/7e70e5f50310b7bdf79e39b4a5a4964f9a6d051b..5c2c0604805452f8235e7574b7e4986f9f89802e:/nominatim/config.py?ds=sidebyside diff --git a/nominatim/config.py b/nominatim/config.py index a3f91055..ef261079 100644 --- a/nominatim/config.py +++ b/nominatim/config.py @@ -144,7 +144,7 @@ class Configuration: style = self.__getattr__('IMPORT_STYLE') if style in ('admin', 'street', 'address', 'full', 'extratags'): - return self.config_dir / 'import-{}.style'.format(style) + return self.config_dir / f'import-{style}.style' return self.find_config_file('', 'IMPORT_STYLE')