1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 09:34:38 +01:00

Test with py3

This commit is contained in:
lds56 2015-04-04 21:39:26 +08:00
parent 4d8cd202f1
commit 1e6eb640c6

View File

@ -1,6 +1,5 @@
# -*- coding: utf-8 -*-
import os
import time
import io
import struct
# Deal with py2 and py3 differences
@ -22,7 +21,6 @@ port = config.getint('App data', 'port')
Session = mtproto.Session(ip, port)
# print("start create")
Session.create_auth_key()
future_salts = Session.method_call('get_future_salts', num=3)