Fix ID autocast should not add the mark

This commit is contained in:
Lonami
2018-07-07 19:42:47 +02:00
committed by GitHub
parent 61f9dc1cd7
commit 8ca2e56aee

View File

@@ -30,7 +30,7 @@ AUTO_CASTS = {
}
NAMED_AUTO_CASTS = {
('chat_id', 'int'): 'await client.get_peer_id({})'
('chat_id', 'int'): 'await client.get_peer_id({}, add_mark=False)'
}
BASE_TYPES = ('string', 'bytes', 'int', 'long', 'int128',