diff options
| author | exislow <exislow@users.noreply.github.com> | 2024-03-22 16:20:51 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-22 16:20:51 +0100 |
| commit | 08a876feaf3ce3ab11b6233a33638829e1c10e31 (patch) | |
| tree | b96dee814cdac80f54747ec045d064542a144fc5 /tidal_dl_ng/cli.py | |
| parent | 0461c53be4191e18d5bba1e333de0d5ad7527bd0 (diff) | |
| parent | c7c8c1257459c8d49c75ffb343a33355116f7818 (diff) | |
| download | tidal-dl-ng-08a876feaf3ce3ab11b6233a33638829e1c10e31.tar.gz | |
Merge pull request #67 from exislow/62-bug-version-info-not-displayed
🛠️ Version will be shown correctly.
Diffstat (limited to 'tidal_dl_ng/cli.py')
| -rw-r--r-- | tidal_dl_ng/cli.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tidal_dl_ng/cli.py b/tidal_dl_ng/cli.py index 4902f74..f8d037d 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() |
