Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
dd5e1024db | ||
|
31d13f8fae | ||
|
19b4d929e2 |
7
.bumpversion.cfg
Normal file
7
.bumpversion.cfg
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
[bumpversion]
|
||||||
|
current_version = 1.7.2
|
||||||
|
commit = True
|
||||||
|
tag = True
|
||||||
|
|
||||||
|
[bumpversion:file:fbchat/__init__.py]
|
||||||
|
|
@@ -13,7 +13,7 @@ from ._client import Client
|
|||||||
from ._util import log # TODO: Remove this (from examples too)
|
from ._util import log # TODO: Remove this (from examples too)
|
||||||
|
|
||||||
__title__ = "fbchat"
|
__title__ = "fbchat"
|
||||||
__version__ = "1.7.1"
|
__version__ = "1.7.2"
|
||||||
__description__ = "Facebook Chat (Messenger) for Python"
|
__description__ = "Facebook Chat (Messenger) for Python"
|
||||||
|
|
||||||
__copyright__ = "Copyright 2015 - 2019 by Taehoon Kim"
|
__copyright__ = "Copyright 2015 - 2019 by Taehoon Kim"
|
||||||
|
@@ -136,7 +136,7 @@ def handle_payload_error(j):
|
|||||||
|
|
||||||
def handle_graphql_errors(j):
|
def handle_graphql_errors(j):
|
||||||
errors = []
|
errors = []
|
||||||
if "error" in j:
|
if j.get("error"):
|
||||||
errors = [j["error"]]
|
errors = [j["error"]]
|
||||||
if "errors" in j:
|
if "errors" in j:
|
||||||
errors = j["errors"]
|
errors = j["errors"]
|
||||||
|
@@ -60,3 +60,7 @@ docs = [
|
|||||||
lint = [
|
lint = [
|
||||||
"black",
|
"black",
|
||||||
]
|
]
|
||||||
|
tools = [
|
||||||
|
# Fork of bumpversion, see https://github.com/c4urself/bump2version
|
||||||
|
"bump2version~=0.5.0",
|
||||||
|
]
|
||||||
|
Reference in New Issue
Block a user