diff options
| author | Robert Honz <exislow+github@gmail.com> | 2024-04-01 18:58:37 +0200 |
|---|---|---|
| committer | Robert Honz <exislow+github@gmail.com> | 2024-04-01 18:58:37 +0200 |
| commit | d1dddced9649fcaba50dda04b9079e409d0a3c1c (patch) | |
| tree | 9d19fc4b0b8ff764ce8645d452369c0f908957d2 | |
| parent | e8b088bcb6715d415a742a3f0febdf4f5f28041c (diff) | |
| download | tidal-dl-ng-d1dddced9649fcaba50dda04b9079e409d0a3c1c.tar.gz | |
🛠️ Fixed wrong version import.
| -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 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() |
