Skip to content

Commit

Permalink
Update version and add debug log for user cancellation
Browse files Browse the repository at this point in the history
Increased the version number to 0.5.8.5 across configuration files. Added a debug log statement to indicate when a user cancels the linking process in `signal_link_thread.py`.
  • Loading branch information
pnearing committed Sep 9, 2024
1 parent 2787b67 commit 0412d5f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "SignalCliAPi"
version = "0.5.8.4"
version = "0.5.8.5"
authors = [
{ name="Peter Nearing", email="[email protected]" }
]
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = SignalCliApi
version = 0.5.8.4
version = 0.5.8.5
author = Peter Nearing
author_email = [email protected]
description = A python interface to the signal-cli found at https://github.com/AsamK/signal-cli
Expand Down
2 changes: 1 addition & 1 deletion src/signal_cli_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
File: __init__.py
Description: A python3 interface to signal-cli.
"""
__version__: str = '0.5.8.4'
__version__: str = '0.5.8.5'
__author__: str = 'Peter Nearing'
__email__: str = '[email protected]'

Expand Down
1 change: 1 addition & 0 deletions src/signal_cli_api/signal_link_thread.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ def run(self) -> None:
return_value = self.__call_callback__(
LinkAccountCallbackStates.LINK_WAITING, None)
if return_value is True:
logger.debug("user canceled")
self.cancel()
return
first_loop = False
Expand Down

0 comments on commit 0412d5f

Please sign in to comment.