From e4726a478ee581f4792976d578bd28acaf7b1b80 Mon Sep 17 00:00:00 2001 From: Maksym Buz Date: Thu, 23 Oct 2025 12:05:59 +0200 Subject: [PATCH] fix: replaced ambiguous Unicode characters --- zabbix-tests/host-creator.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zabbix-tests/host-creator.py b/zabbix-tests/host-creator.py index fb384b7..a9a1313 100755 --- a/zabbix-tests/host-creator.py +++ b/zabbix-tests/host-creator.py @@ -61,13 +61,13 @@ def create_hosts(): for i in range(0, len(hosts), BATCH_SIZE): batch = hosts[i:i + BATCH_SIZE] - print(f"Creating hosts {i+1}–{i+len(batch)}...") + print(f"Creating hosts {i+1}-{i+len(batch)}...") try: resp = zbx_request("host.create", batch) created = len(resp.get("result", {}).get("hostids", [])) - print(f"✅ Created {created} hosts.") + print(f"Created {created} hosts.") except Exception as e: - print(f"❌ Error in batch {i+1}–{i+len(batch)}: {e}") + print(f"Error in batch {i+1}-{i+len(batch)}: {e}") time.sleep(1) if __name__ == "__main__":