diff options
author | mathieui <mathieui@mathieui.net> | 2015-01-15 21:40:57 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2015-01-15 21:40:57 +0100 |
commit | 45f280f56c93fd3504029c4022f39b097b634622 (patch) | |
tree | 2073d09c700a765e43b7e3e3c2e5a826bfd39195 /plugins | |
parent | 0efdcd12e24586453dfd3f5395b950699bd1d846 (diff) | |
download | poezio-45f280f56c93fd3504029c4022f39b097b634622.tar.gz poezio-45f280f56c93fd3504029c4022f39b097b634622.tar.bz2 poezio-45f280f56c93fd3504029c4022f39b097b634622.tar.xz poezio-45f280f56c93fd3504029c4022f39b097b634622.zip |
Fix a silent traceback in the otr plugin
(the “X has not enabled OTR after n seconds.” would not be displayed)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/otr.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/otr.py b/plugins/otr.py index 8b8dbb04..16d2f3ed 100644 --- a/plugins/otr.py +++ b/plugins/otr.py @@ -882,6 +882,7 @@ class Plugin(BasePlugin): else: was_locked = False def notify_otr_timeout(): + nonlocal name otr = self.get_context(name) if isinstance(tab, DynamicConversationTab) and not was_locked: if tab.locked_resource: |