From c13b07e4a30c5510896fed558ad7b366701cd9e8 Mon Sep 17 00:00:00 2001 From: Jamie Hardt Date: Mon, 25 Nov 2024 10:33:07 -0800 Subject: [PATCH] typing fix for python 3.8/3.9 --- wavinfo/__main__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wavinfo/__main__.py b/wavinfo/__main__.py index 82a0dbf..3e5ad9f 100644 --- a/wavinfo/__main__.py +++ b/wavinfo/__main__.py @@ -9,7 +9,7 @@ from base64 import b64encode from cmd import Cmd from shlex import split -from typing import List, Dict +from typing import List, Dict, Union class MyJSONEncoder(json.JSONEncoder): @@ -29,7 +29,7 @@ class MissingDataError(RuntimeError): class MetaBrowser(Cmd): prompt = "(wavinfo) " - metadata: List | Dict + metadata: Union[List, Dict] path: List[str] = [] @property