summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Server/Plugins/Packages.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Packages.py b/src/lib/Server/Plugins/Packages.py
index 1621451c3..8171785b1 100644
--- a/src/lib/Server/Plugins/Packages.py
+++ b/src/lib/Server/Plugins/Packages.py
@@ -34,7 +34,7 @@ def source_from_xml(xsource):
if ret['components'] == []:
ret['components'] = ['placeholder']
try:
- if xsource.find('Recommended').text is not None:
+ if xsource.find('Recommended').text == 'true':
ret['recommended'] = True
except:
ret['recommended'] = False