Skip to content

Commit

Permalink
typing fix for python 3.8/3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
iluvcapra committed Nov 25, 2024
1 parent ac37c14 commit c13b07e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wavinfo/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -29,7 +29,7 @@ class MissingDataError(RuntimeError):
class MetaBrowser(Cmd):
prompt = "(wavinfo) "

metadata: List | Dict
metadata: Union[List, Dict]
path: List[str] = []

@property
Expand Down

0 comments on commit c13b07e

Please sign in to comment.