bundles/octoprint: don't try to resolve faults in metadata.py
bundlewrap/pipeline/head This commit looks good Details

This commit is contained in:
Franzi 2020-11-22 09:07:28 +01:00
parent 15826c73b0
commit 22d5ba12ee
Signed by: kunsi
GPG Key ID: 12E3D2136B818350
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ defaults = {
@metadata_reactor
def icinga(metadata):
if not metadata.get('octoprint/api_key', None):
if 'api_key' not in metadata.get('octoprint', {}):
return {}
return {