]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
manager: fixed formatting to make black happy
authorVasek Sraier <git@vakabus.cz>
Sat, 13 Mar 2021 11:39:58 +0000 (12:39 +0100)
committerAleš Mrázek <ales.mrazek@nic.cz>
Fri, 8 Apr 2022 14:17:51 +0000 (16:17 +0200)
manager/knot_resolver_manager/kresd_manager.py

index 803f1b20443c616b7b915089f1708af1275f330d..88d2c68db7d06dafce04f9d858fbb3b040ab8b95 100644 (file)
@@ -78,8 +78,8 @@ class KresdManager:
 
     async def _write_config(self, config: YAML):
         # FIXME: this code is blocking!!!
-        with open("/etc/knot-resolver/kresd.conf", 'w') as f:
-            f.write(config['lua_config'].text)
+        with open("/etc/knot-resolver/kresd.conf", "w") as f:
+            f.write(config["lua_config"].text)
 
     async def apply_config(self, config: YAML):
         async with self._children_lock: