format with black (mostly quotes)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user