mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #466 from YunoHost/fix_1082
[fix] some services are marked as None
This commit is contained in:
commit
5777292e28
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