Skip to content

Commit

Permalink
Upped the version number to match server release, changed success mes…
Browse files Browse the repository at this point in the history
…sage to have yellow text rather than black on black
  • Loading branch information
nmassey001 committed Dec 16, 2024
1 parent 882a138 commit abdd55a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion nlds_client/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.0.2'
__version__ = '1.0.5'
2 changes: 1 addition & 1 deletion nlds_client/clientlib/transactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def main_loop(
verify=verify,
**kwargs,
)
except requests.exceptions.ConnectionError:
except requests.exceptions.ConnectionError as e:
raise ConnectionError(
f"Could not connect to the URL: {url}\n"
"Check the ['server']['url'] and ['server']['api'] setting in "
Expand Down
2 changes: 1 addition & 1 deletion nlds_client/nlds_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1345,7 +1345,7 @@ def init(url: str = None, insecure: bool = False):
) or "new_config" not in response:
raise RequestError(f"Could not init NLDS, something has gone wrong")
success_msg = f"Successfully initialised, "
path_str = click.style(CONFIG_FILE_LOCATION, fg="black")
path_str = click.style(CONFIG_FILE_LOCATION, fg="yellow")
if response["new_config"]:
success_msg += (
f"a template config file has been created at "
Expand Down

0 comments on commit abdd55a

Please sign in to comment.