Merge pull request #466 from YunoHost/fix_1082

[fix] some services are marked as None
This commit is contained in:
Bram 2018-05-10 22:48:04 +02:00 committed by GitHub
commit 5777292e28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -574,6 +574,12 @@ def _get_services():
except:
return {}
else:
# some services are marked as None to remove them from YunoHost
# filter this
for key, value in services.items():
if value is None:
del services[key]
return services