From 546327b77884c46c285ad37c34d6c6fbeb137530 Mon Sep 17 00:00:00 2001 From: Daniele Pira Date: Fri, 29 Mar 2024 16:42:39 +0100 Subject: [PATCH] refactor: remove unused import --- src/satispaython/__init__.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/satispaython/__init__.py b/src/satispaython/__init__.py index a4f2831..95a963e 100644 --- a/src/satispaython/__init__.py +++ b/src/satispaython/__init__.py @@ -2,10 +2,7 @@ from .auth import SatispayAuth from .client import AsyncSatispayClient, SatispayClient -try: - import importlib.metadata as _metadata -except ModuleNotFoundError: - import importlib_metadata as _metadata +import importlib.metadata as _metadata __version__ = _metadata.version(__name__)