From 3c86be64c627d7c52203d423339e8eaaa53925d5 Mon Sep 17 00:00:00 2001 From: datawhores Date: Thu, 22 Aug 2024 14:47:27 -0500 Subject: [PATCH] else --- ofscraper/utils/logs/logs.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ofscraper/utils/logs/logs.py b/ofscraper/utils/logs/logs.py index 62a5ae54..0f9cb937 100644 --- a/ofscraper/utils/logs/logs.py +++ b/ofscraper/utils/logs/logs.py @@ -81,9 +81,10 @@ def print_latest_version(): log.error("[bold yellow]OF-Scraper up to date[/bold yellow]") elif ".dev" in __version__: log.error("OF-Scraper up to date[/bold yellow]") - log.error(f"[bold yellow]new version of OF-Scraper available[/bold yellow]: [bold]{new_version}[/bold]") - log.error(f"[bold yellow]project url: {url}[/bold yellow]") - + else: + log.error(f"[bold yellow]new version of OF-Scraper available[/bold yellow]: [bold]{new_version}[/bold]") + log.error(f"[bold yellow]project url: {url}[/bold yellow]") +