diff --git a/src/viv/viv.py b/src/viv/viv.py index 3f912ff..d5c53ac 100755 --- a/src/viv/viv.py +++ b/src/viv/viv.py @@ -6,8 +6,6 @@ __import__("viv").use("requests", "bs4") """ -from __future__ import annotations - import hashlib import itertools import json @@ -41,6 +39,7 @@ from types import TracebackType from typing import ( Any, Dict, + Generator, List, NoReturn, Optional, @@ -48,10 +47,10 @@ from typing import ( TextIO, Tuple, Type, - Generator, + Union, ) -__version__ = "22.12a3-59-g7003373-dev" +__version__ = "22.12a3-61-g9231db5-dev" @dataclass @@ -879,7 +878,7 @@ class Viv: ) def _get_sources(self) -> None: - self.local_source: Path | str + self.local_source: Union[Path, str] self.running_source = Path(__file__).resolve() self.local = not str(self.running_source).startswith("/proc/") if self.local: