take the int part
This commit is contained in:
parent
2ab3e0181c
commit
b8c8775d13
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ def splitext(text: str):
|
|||
limit = config.character_limit
|
||||
result = [
|
||||
text[limit*part:limit*(part+1)]
|
||||
for part in range(len(text)/limit+1)]
|
||||
for part in range(len(text)//limit+1)]
|
||||
return result
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue