Skip to content

Commit 87e5559

Browse files
IgorIgor
authored andcommitted
fix a staticmethod warning
1 parent 24aa317 commit 87e5559

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bitrix24/bitrix24.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ def __init__(
4848
self._retry_after = int(retry_after)
4949
self._verify_ssl = bool(safe)
5050

51-
def _prepare_domain(self, domain: str) -> str:
51+
@staticmethod
52+
def _prepare_domain(domain: str) -> str:
5253
"""Normalize user passed domain to a valid one."""
5354
o = urlparse(domain)
5455
if not o.scheme or not o.netloc:

0 commit comments

Comments
 (0)