From f76f0bcdf200a59d465704b711ae399430bc07b2 Mon Sep 17 00:00:00 2001 From: phermeys Date: Sun, 26 Apr 2026 14:58:35 -0700 Subject: [PATCH] remove non standard dashes --- roles/storage_api/templates/disk_service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/storage_api/templates/disk_service.py b/roles/storage_api/templates/disk_service.py index a6daa4e..50c0ada 100644 --- a/roles/storage_api/templates/disk_service.py +++ b/roles/storage_api/templates/disk_service.py @@ -202,7 +202,7 @@ def get_os_info() -> str: major_edition = f"{major} {edition}" # 2. Build number build = os_info.BuildNumber - # 3. Install date (WMI gives an ISO‑8601 string) + # 3. Install date (WMI gives an ISO-8601 string) # e.g. "20210930142300.000000+000" install_ts = os_info.InstallDate[:14] # "20210930142300" dt = datetime.strptime(install_ts, "%Y%m%d%H%M%S") @@ -259,7 +259,7 @@ def server_reporter(): try: response = requests.post(url, json=data_dict) - # Raise an exception for non‑2xx status codes + # Raise an exception for non-2xx status codes response.raise_for_status() result = response.json() except: