exclude implicit project updates

This commit is contained in:
Christian Adams
2019-03-28 11:13:06 -04:00
parent 9a4439e731
commit 4a0778a3d5
3 changed files with 18 additions and 17 deletions

View File

@@ -26,7 +26,7 @@ logger = logging.getLogger('awx.main.analytics')
def _valid_license():
try:
if get_license(show_key=False)['license_type'] == 'open':
if get_license(show_key=False).get('license_type', 'UNLICENSED') == 'open':
return False
access_registry[Job](None).check_license()
except PermissionDenied: