Fix #2343
This commit is contained in:
parent
64c1a09023
commit
518f933fb8
2 changed files with 6 additions and 1 deletions
|
@ -3,6 +3,11 @@ For more detailed changelog, see the roadmap:
|
||||||
http://dev.louiz.org/projects/poezio/roadmap
|
http://dev.louiz.org/projects/poezio/roadmap
|
||||||
|
|
||||||
* Poezio 0.8 - dev
|
* Poezio 0.8 - dev
|
||||||
|
- /invite in a MUCTab now has the behavior one could expect
|
||||||
|
(inviting a specific JID to this MUC)
|
||||||
|
- Themes and plugins are now loaded using a set of paths instead
|
||||||
|
of only a specific directory.
|
||||||
|
- The OTR plugin has been completly rewritten
|
||||||
- The completion can now complete the current argument in the input,
|
- The completion can now complete the current argument in the input,
|
||||||
instead of only the last one.
|
instead of only the last one.
|
||||||
- Poezio now periodically pings the server to detect connection loss
|
- Poezio now periodically pings the server to detect connection loss
|
||||||
|
|
|
@ -451,7 +451,7 @@ def reload_theme():
|
||||||
log.error('Failed to load the theme %s', theme_name, exc_info=True)
|
log.error('Failed to load the theme %s', theme_name, exc_info=True)
|
||||||
exc = e
|
exc = e
|
||||||
finally:
|
finally:
|
||||||
if version_info[1] < 3:
|
if version_info[1] < 3 and imp.lock_held():
|
||||||
imp.release_lock()
|
imp.release_lock()
|
||||||
|
|
||||||
if not new_theme:
|
if not new_theme:
|
||||||
|
|
Loading…
Reference in a new issue