mirror of https://github.com/zulip/zulip.git
f645de255c
If the event key is None, the handler content_func never gets defined, which leads to an UnboundLocalError. This can be easily avoided by having a dedicated function that handles the case for when the event key is None. |
||
---|---|---|
.. | ||
fixtures | ||
__init__.py | ||
doc.md | ||
tests.py | ||
view.py |