3
0

format with black (mostly quotes)

This commit is contained in:
2023-11-15 10:02:28 +01:00
parent ced589f28a
commit 0f45f89211
22 changed files with 245 additions and 272 deletions
+3 -3
View File
@@ -58,9 +58,9 @@ async def amain(config: capport.config.Config) -> None:
async with trio.open_nursery() as nursery:
# hub.run loads the statefile from disk before signalling it was "started"
await nursery.start(hub.run)
await sn.send('READY=1', 'STATUS=Deploying initial entries to nftables set')
await sn.send("READY=1", "STATUS=Deploying initial entries to nftables set")
app.apply_db_entries(hub.database.entries())
await sn.send('STATUS=Kernel fully synchronized')
await sn.send("STATUS=Kernel fully synchronized")
@dataclasses.dataclass
@@ -69,7 +69,7 @@ class CliArguments:
def __init__(self):
parser = argparse.ArgumentParser()
parser.add_argument('--config', '-c')
parser.add_argument("--config", "-c")
args = parser.parse_args()
self.config = args.config