]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/config.py
pylint: avoid explicit use of format() function
[nominatim.git] / nominatim / config.py
index a3f91055fc76b37bf338291c6b7aa2350afb4d21..ef2610793bad4a8e0ea4efca62e685d6c90fee5a 100644 (file)
@@ -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')