Skip to content

Commit

Permalink
Fix: TypeError: 'type' object is not subscriptable
Browse files Browse the repository at this point in the history
  • Loading branch information
XpycTee committed Aug 31, 2022
1 parent 24a8cd1 commit 7bc406e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smsru_api/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def del_callback(self, url: str) -> dict:
:return: JSON ответ от сервера. """
pass

def _collect_data(self, numbers: tuple[str], message: str,
def _collect_data(self, numbers: tuple, message: str,
from_name: str = None, ip_address: str = None,
timestamp: int = None, ttl: int = None, day_time: bool = False,
translit: bool = False, test: bool = None, debug: bool = False):
Expand Down

0 comments on commit 7bc406e

Please sign in to comment.