Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions news/100.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix walrus operator usage to correctly assign authomatic_cfg() result
2 changes: 1 addition & 1 deletion src/pas/plugins/authomatic/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from pas.plugins.authomatic.patches import apply_patches


__version__ = "2.0.0rc3.dev0"
__version__ = "2.0.0rc3.dev1"


PACKAGE_NAME = "pas.plugins.authomatic"
Expand Down
2 changes: 1 addition & 1 deletion src/pas/plugins/authomatic/browser/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def _handle_error(self, error):

def __call__(self):
provider = getattr(self, "provider", "")
if cfg := authomatic_cfg() is None:
if (cfg := authomatic_cfg()) is None:
return _("Authomatic is not configured")
if not is_root(self.context):
# callback url is expected on either navigationroot or site root
Expand Down
Loading