Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Costanzo <[email protected]>
  • Loading branch information
ianco committed Sep 21, 2021
1 parent 28e58ea commit 082a46d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions aries_cloudagent/admin/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,10 +567,7 @@ async def config_handler(self, request: web.BaseRequest):
"""
config = {
k: self.context.settings[k]
if (
isinstance(self.context.settings[k], str)
or isinstance(self.context.settings[k], int)
)
if (isinstance(self.context.settings[k], (str, int)))
else self.context.settings[k].copy()
for k in self.context.settings
if k
Expand Down

0 comments on commit 082a46d

Please sign in to comment.