fix SyntaxWarning

This commit is contained in:
Noam Meltzer 2016-06-01 22:38:08 +03:00
parent 3608c2bbe5
commit 1f5601dae2

View file

@ -33,10 +33,11 @@ CON_POOL_SIZE = 1
def _get_con_pool():
global _CON_POOL
if _CON_POOL is not None:
return _CON_POOL
global _CON_POOL
_CON_POOL = urllib3.HTTPSConnectionPool(
host='api.telegram.org',
maxsize=CON_POOL_SIZE,