Skip to content

Commit 87bc71d

Browse files
authored
Merge pull request #23 from vk-fin/master
Remove check for method name without "dot" separator
2 parents e81f45a + e389d1b commit 87bc71d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bitrix24/bitrix24.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def callMethod(self, method: str, params: Dict[str, Any] = {}, **kwargs) -> Dict
150150
-------
151151
Returning the REST method response as an array, an object or a scalar
152152
"""
153-
if not method or len(method.split(".")) < 2:
153+
if not method:
154154
raise BitrixError("Wrong method name", 400)
155155

156156
try:

setup.py

+1-1
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)