Merge pull request #472 from lbryio/fix-bug-report-slack-key

Fix how the bug report code accesses Slack API key setting
This commit is contained in:
Jack Robison 2017-02-09 00:07:52 -05:00 committed by GitHub
commit 75cc0dcce9
2 changed files with 2 additions and 1 deletions

View file

@ -15,6 +15,7 @@ at anytime.
* call stopProducing in reflector client file_sender when uploading is done
* ensure streams in stream_info_manager are saved in lbry_file_manager
* [#470](https://github.com/lbryio/lbry/issues/470)
* Fixed upload of bug reports to Slack ([#472](https://github.com/lbryio/lbry/issues/472))
## [0.8.1] - 2017-02-01
### Changed

View file

@ -2679,7 +2679,7 @@ def get_loggly_query_string(installation_id):
def report_bug_to_slack(message, installation_id, platform_name, app_version):
webhook = utils.deobfuscate(conf.settings.SLACK_WEBHOOK)
webhook = utils.deobfuscate(conf.settings['SLACK_WEBHOOK'])
payload_template = "os: %s\n version: %s\n<%s|loggly>\n%s"
payload_params = (
platform_name,