diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 9903544..40e7f5b 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -21,8 +21,8 @@ Traceback (most recent call last): File "[site-packages]/fbchat/client.py", line 78, in __init__ self.login(email, password, max_tries) File "[site-packages]/fbchat/client.py", line 407, in login - raise FBchatUserError('Login failed. Check email/password. (Failed on url: {})'.format(login_url)) -fbchat.models.FBchatUserError: Login failed. Check email/password. (Failed on url: https://m.facebook.com/login.php?login_attempt=1) + raise FBchatUserError('Login failed. Check email/password. (Failed on URL: {})'.format(login_url)) +fbchat.models.FBchatUserError: Login failed. Check email/password. (Failed on URL: https://m.facebook.com/login.php?login_attempt=1) ``` ## Environment information diff --git a/.travis.yml b/.travis.yml index 3a53852..a04077f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,7 +30,7 @@ jobs: script: black --check --verbose . - stage: deploy - name: Github Releases + name: GitHub Releases if: tag IS present install: skip script: flit build diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 189fdd2..c32f920 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -1,5 +1,5 @@ -Contributing to fbchat -====================== +Contributing to ``fbchat`` +========================== Thanks for reading this, all contributions are very much welcome! diff --git a/README.rst b/README.rst index 79b848d..65a44ab 100644 --- a/README.rst +++ b/README.rst @@ -1,5 +1,5 @@ -fbchat: Facebook Chat (Messenger) for Python -============================================ +``fbchat``: Facebook Chat (Messenger) for Python +================================================ .. image:: https://img.shields.io/badge/license-BSD-blue.svg :target: https://github.com/carpedm20/fbchat/tree/master/LICENSE diff --git a/fbchat/_client.py b/fbchat/_client.py index 07d4cef..3eb84ea 100644 --- a/fbchat/_client.py +++ b/fbchat/_client.py @@ -953,7 +953,7 @@ class Client(object): url = get_jsmods_require(j, 3) if url is None: - raise FBchatException("Could not fetch image url from: {}".format(j)) + raise FBchatException("Could not fetch image URL from: {}".format(j)) return url def fetchMessageInfo(self, mid, thread_id=None):