mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
eb3b1b8134
This fixes a crash on startup of core-lightning where gevent could not be imported. This happens before sys is imported and throws us into the except clause which calls sys. By importing it explicitly in the except clause we are not dependend of the order of imports in the try bracket. Signed-off-by: Peter Neuroth <pet.v.ne@gmail.com> Changelog-Fixes: Plugin: clnrest crashed on startup when gevent was missing. |
||
---|---|---|
.. | ||
.github/screenshots | ||
utilities | ||
__init__.py | ||
clnrest.py | ||
Makefile | ||
poetry.lock | ||
pyproject.toml | ||
requirements.txt |