summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--portato/plugin.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/portato/plugin.py b/portato/plugin.py
index 30a8c07..1aa521a 100644
--- a/portato/plugin.py
+++ b/portato/plugin.py
@@ -371,19 +371,18 @@ class PluginQueue:
elif frontendOK is None: # do not make negative if we already have a positive
frontendOK = False
- if frontendOK is None or frontendOK is True:
+ if frontendOK is None or frontendOK == True:
plugin = Plugin(p, elem.getElementsByTagName("name")[0], elem.getElementsByTagName("author")[0])
- plugin.parse_hooks(elem.getElementsByTagName("hook")[0])
+ plugin.parse_hooks(elem.getElementsByTagName("hooks")[0])
plugin.set_import(elem.getElementsByTagName("import"))
plugin.parse_menus(elem.getElementsByTagName("menu"))
plugin.parse_options(elem.getElementsByTagName("options"))
self.list.append(plugin)
-
+ info("Plugin '%s' loaded.", p)
+
except PluginImportException, e:
error("Loading plugin '%s' failed: Could not import %s", p, e[0])
- else:
- info("Plugin '%s' loaded.", p)
finally:
doc.unlink()
:52 -0600'>2014-03-20clip: don't race between pass instances in restoreJason A. Donenfeld1-2/+4 2014-03-20Style.Jason A. Donenfeld1-3/+1 2014-03-19Simplify exports.Jason A. Donenfeld1-4/+3 2014-03-19Copyright noticeJason A. Donenfeld1-1/+1 2014-03-19Team pass: enable multiple keys and per directoryJason A. Donenfeld2-40/+75 2014-03-18Shred shm files.Jason A. Donenfeld3-1/+4 2014-03-18Do not compress passwords.Jason A. Donenfeld1-1/+1 2013-09-14Use a glob in the pattern match instead of using two comparisons for [yY].Chris Down1-1/+1 2013-09-14Rephrase awkward/confusing message about enabling echo during password entry.Chris Down1-3/+3 2013-09-14Fix directory traversal for reencryption when $PREFIX is a symlinkBrian Shore1-1/+1 2013-08-26Makefile: Do not install bash completion to /etcLukas Fleischer1-3/+2 2013-05-22check if a passfile exists before checking for directoryBrian Mattern1-13/+12