Unverified Commit 88eafa7f authored by Dan Jones's avatar Dan Jones
Browse files

fix: blacken

parent 435b8690
Pipeline #114503 passed with stages
in 58 seconds
......@@ -44,12 +44,12 @@ parser.add_argument(
help="The root api endpoint",
)
parser.add_argument('--silent', action='store_true')
parser.add_argument("--silent", action="store_true")
parser.set_defaults(silent=False)
args = parser.parse_args()
if not args.silent:
if not args.silent:
parser.print_help()
client_model = ClientModel()
......@@ -57,7 +57,7 @@ client_model = ClientModel()
# Get existing client if already exists
client = client_model.find(args.id)
if not client:
if not client:
client = client_model.add(
{
"client_id": args.id,
......@@ -65,11 +65,11 @@ if not client:
"subscription": args.sub,
}
)
# Add the API endpoint to the credentials file
client['api'] = args.api
client["api"] = args.api
if not args.silent:
if not args.silent:
print("Here is your credentials file:")
print(json.dumps(client, indent=2))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment