Skip to content

Commit de763fa

Browse files
authored
f an integer is required (got type str)
1 parent 458e169 commit de763fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_pyrogram/modules/json.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ async def start(client, message):
1515

1616
msg_info = str(msg)
1717

18-
if len(msg_info) > int(4096):
18+
if len(msg_info) > int("4096"):
1919
file = open("json.txt", "w+")
2020
file.write(msg_info)
2121
file.close()

0 commit comments

Comments
 (0)