Fix spelling / typesetting in various places

This commit is contained in:
Mads Marquart
2019-07-24 00:09:19 +02:00
parent cc9d81a39e
commit 83c45dcf40
5 changed files with 8 additions and 8 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -1,5 +1,5 @@
Contributing to fbchat
======================
Contributing to ``fbchat``
==========================
Thanks for reading this, all contributions are very much welcome!

View File

@@ -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

View File

@@ -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):