#!/bin/env python

import aiohttp


async def aio_get_text(aio_session, url, headers=None):
    async with aio_session() as s:
        async with s.get(url, headers=headers) as r:
            if r.status == 200:
                return await r.text()
            else:
                return None

async def aio_get_json(aio_session, url, headers=None):
    async with aio_session() as s:
        async with s.get(url, headers=headers) as r:
            if r.status == 200:
                return await r.json()
            else:
                return None

@@ -103,34 +103,32 @@
 with aio_session
-()
  as s:%0A        a
@@ -370,18 +370,16 @@
 _session
-()
  as s:%0A 

Fix session error