Commit 71803e9
committed
Fix
In plone/plone.formwidget.hcaptcha#25 ``widget.py`` was moved to ``browser/widget.py``.
It seems we can always get the ``HCaptchaFieldWidget`` class from the `__init__.py`` file though.
Sample [test failure on GitHub Actions](https://github.com/collective/collective.easyform/actions/runs/28085338020/job/83149843124#step:5:379):
```
File ".../src/collective/easyform/browser/widgets.zcml", line 136.4-141.10
zope.configuration.interfaces.InvalidToken:
ImportError:
Couldn't import plone.formwidget.hcaptcha.widget,
No module named 'plone.formwidget.hcaptcha.widget'
in 'plone.formwidget.hcaptcha.widget.HCaptchaFieldWidget'
```HCaptchaFieldWidget location to work in all plone.formwidget.hcaptcha versions.1 parent 1016dc7 commit 71803e9
2 files changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| |||
0 commit comments