From 438a1c294b2a4f6bf71c712714363f443b914772 Mon Sep 17 00:00:00 2001 From: Sammy Pfeiffer Date: Mon, 16 Mar 2015 12:23:14 +0100 Subject: [PATCH] Fixed something that didnt happen before in py2 --- mtproto.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mtproto.py b/mtproto.py index 966f3bb58..5a7ab7b78 100644 --- a/mtproto.py +++ b/mtproto.py @@ -102,11 +102,12 @@ def serialize_method(bytes_io, type_, **kwargs): def serialize_param(bytes_io, type_, value): + print("type(value): " + str(type(value))) if type_ == "int": assert isinstance(value, int) bytes_io.write(struct.pack('