Skip to content

Commit 6ea714d

Browse files
authored
Merge branch 'master' into master
2 parents fce3364 + 87bc71d commit 6ea714d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

bitrix24/bitrix24.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,11 @@ def callMethod(self, method: str, params: Dict[str, Any] = None, **kwargs) -> Di
153153
-------
154154
Returning the REST method response as an array, an object or a scalar
155155
"""
156+
156157
if params is None:
157158
params = {}
158-
if not method or len(method.split(".")) < 2:
159+
160+
if not method:
159161
raise BitrixError("Wrong method name", 400)
160162

161163
try:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
setup(
1414
name="bitrix24-rest",
15-
version="2.0.0",
15+
version="2.0.1",
1616
packages=find_packages(),
1717
install_requires=[
1818
"aiohttp",

0 commit comments

Comments
 (0)