From 9fbf365a65a4ed1910cf5c52c27f9a25a7bf5f3f Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Thu, 13 Mar 2025 11:11:38 +0100
Subject: [PATCH] Fix typing error.

---
 src/run.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/run.py b/src/run.py
index 825d4a7..911a5e3 100755
--- a/src/run.py
+++ b/src/run.py
@@ -7,7 +7,7 @@ from decimal import Decimal, InvalidOperation as DecimalInvalidOperation
 from os import environ
 from pathlib import Path
 from sys import exit as sys_exit
-from typing import Any, Generator, Optional, Self
+from typing import Any, Iterator, Optional, Self
 # non-standard libs
 try:
     from plomlib.web import PlomHttpHandler, PlomHttpServer, PlomQueryMap
@@ -140,7 +140,7 @@ class Account:
             self._wealth_diffs[booking_id] = wealth_diff
 
     @staticmethod
-    def path_to_steps(full_path: str) -> Generator[tuple[str, str]]:
+    def path_to_steps(full_path: str) -> Iterator[tuple[str, str]]:
         """Split full_path into steps, for each return its path, basename."""
         rebuilt_path = ''
         for step_name in full_path.split(':'):
-- 
2.30.2