mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] some services are marked as None
This commit is contained in:
parent
9570832f42
commit
ae89e38d56
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue