Skip to content

Commit

Permalink
Fixed error getting service with no library settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
aslagle committed Jun 27, 2017
1 parent e45b238 commit 9f51c29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/admin/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9f51c29

Please sign in to comment.