summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/download_headless.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/download_headless.py b/scripts/download_headless.py
index 1732b97e..1e5ed936 100755
--- a/scripts/download_headless.py
+++ b/scripts/download_headless.py
@@ -62,7 +62,7 @@ def download_headless(serial: str, output_path: str = None, dev: bool = False) -
results = json.loads(r.text)
if not results['ok']:
message = results.get('message', 'No additional information available.')
- raise DownloadException('Download failed: {}'.format(message))
+ raise DownloadException(f'Download failed: {message}')
req_url = results['url']
content = requests.get(req_url, allow_redirects=True)