From d1dddced9649fcaba50dda04b9079e409d0a3c1c Mon Sep 17 00:00:00 2001 From: Robert Honz Date: Mon, 1 Apr 2024 18:58:37 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=EF=B8=8F=20Fixed=20wrong=20version?= =?UTF-8?q?=20import.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tidal_dl_ng/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tidal_dl_ng/cli.py b/tidal_dl_ng/cli.py index f8d037d..4902f74 100644 --- a/tidal_dl_ng/cli.py +++ b/tidal_dl_ng/cli.py @@ -8,7 +8,7 @@ from rich.panel import Panel from rich.progress import BarColumn, Console, Progress, SpinnerColumn, TextColumn from rich.table import Table -from tidal_dl_ng import version +from tidal_dl_ng import __version__ from tidal_dl_ng.config import Settings, Tidal from tidal_dl_ng.constants import CTX_TIDAL, MediaType from tidal_dl_ng.download import Download @@ -22,7 +22,7 @@ app = typer.Typer(context_settings={"help_option_names": ["-h", "--help"]}, add_ def version_callback(value: bool): if value: - print(f"{version}") + print(f"{__version__}") raise typer.Exit()