From 73d5872ec74db8a43b574915669370b5e8ea8563 Mon Sep 17 00:00:00 2001 From: foamyguy Date: Sun, 3 Mar 2024 16:02:34 -0600 Subject: [PATCH] code format --- circup/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/circup/__init__.py b/circup/__init__.py index 4f265c5..c6ad872 100644 --- a/circup/__init__.py +++ b/circup/__init__.py @@ -1077,7 +1077,9 @@ def main( # pylint: disable=too-many-locals if using_webworkflow: if host == "circuitpython.local": click.echo("Checking versions.json on circuitpython.local to find hostname") - versions_resp = requests.get("http://circuitpython.local/cp/version.json", timeout=timeout) + versions_resp = requests.get( + "http://circuitpython.local/cp/version.json", timeout=timeout + ) host = f'{versions_resp.json()["hostname"]}.local' click.echo(f"Using hostname: {host}") device_path = device_path.replace("circuitpython.local", host)