From 9f51c298c7edf84cc428b8d2abe98f029d1729b8 Mon Sep 17 00:00:00 2001 From: Amy Slagle Date: Tue, 27 Jun 2017 15:22:52 -0400 Subject: [PATCH] Fixed error getting service with no library settings. --- api/admin/controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/admin/controller.py b/api/admin/controller.py index db04210f6..d1526ef4a 100644 --- a/api/admin/controller.py +++ b/api/admin/controller.py @@ -1529,7 +1529,7 @@ def analytics_services(self): libraries = [] for library in service.libraries: library_info = dict(short_name=library.short_name) - for setting in protocol.get("library_settings"): + for setting in protocol.get("library_settings", []): key = setting.get("key") value = ConfigurationSetting.for_library_and_externalintegration( self._db, key, library, service