summaryrefslogtreecommitdiff
path: root/portato
diff options
context:
space:
mode:
Diffstat (limited to 'portato')
-rw-r--r--portato/plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/portato/plugin.py b/portato/plugin.py
index 06ef135..30a8c07 100644
--- a/portato/plugin.py
+++ b/portato/plugin.py
@@ -363,7 +363,7 @@ class PluginQueue:
frontendOK = None
frontends = elem.getElementsByTagName("frontends")
if frontends:
- nodes = f.childNodes
+ nodes = frontends[0].childNodes
for f in nodes[0].nodeValue.strip().split():
if f == self.frontend:
frontendOK = True # one positive is enough