Skip to content
Snippets Groups Projects
Commit 6fb3c30c authored by Erik Reid's avatar Erik Reid
Browse files

use f-string

parent 159f4ee5
No related branches found
No related tags found
No related merge requests found
......@@ -717,7 +717,7 @@ def _build_subnet_db(update_callback=lambda s: None):
rp = r.pipeline()
for k, v in subnets.items():
rp.set('subnets:' + k, json.dumps(v))
rp.set(f'subnets:{k}', json.dumps(v))
rp.execute()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment