From 3132d4efeefa95098b18519c5a693a1c6b536a72 Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Mon, 25 Jan 2016 14:07:59 -0500 Subject: [PATCH] Fix license enablement utility helpers We know call "from_database" which can implicitly call "from_file" if the database config isn't available. --- awx/api/license.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/api/license.py b/awx/api/license.py index 60d10f5dcd..c380df5a56 100644 --- a/awx/api/license.py +++ b/awx/api/license.py @@ -16,7 +16,7 @@ def get_license(show_key=False): place on this Tower instance. """ license_reader = TaskSerializer() - return license_reader.from_file(show_key=show_key) + return license_reader.from_database(show_key=show_key) def feature_enabled(name):