Skip to content

Commit

Permalink
Merge pull request mqtt-tools#166 from padelt/master
Browse files Browse the repository at this point in the history
gss2: Fix error message to point to missing python packages
  • Loading branch information
jpmens committed Jan 18, 2016
2 parents ec5f445 + 71d7ae9 commit e7d5664
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/gss2.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def plugin(srv, item):

srv.logging.debug("*** MODULE=%s: service=%s, target=%s", __file__, item.service, item.target)
if not HAVE_GSS:
srv.logging.error("Google Spreadsheet is not installed. Consider 'pip install gdata'.")
srv.logging.error("Google Spreadsheet or oauth2client is not installed. Consider 'pip install gspread google-api-python-client'.")
return False

try:
Expand Down Expand Up @@ -112,4 +112,4 @@ def plugin(srv, item):
srv.logging.warn("Error adding row to spreadsheet %s [%s]: %s" % (spreadsheet_url, worksheet_name, str(e)))
return False

return True
return True

0 comments on commit e7d5664

Please sign in to comment.