Skip to content

Commit

Permalink
updated documentation again
Browse files Browse the repository at this point in the history
  • Loading branch information
akaszynski committed Mar 24, 2017
1 parent 7f880ca commit 66a05c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion keepaAPI/Interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,8 @@ def SearchForCategories(self, searchterm, domain='US'):
response = r.json()

if response['categories'] == {}:
logging.info('Categories search results not yet available')
logging.info('Categories search results not yet available or no' +\
'search terms found.')
else:
return response['categories']

Expand Down

0 comments on commit 66a05c5

Please sign in to comment.