def upload_long_term_charts(config):
    auth = OAuthHandler(config['twitter']['api key'], config['twitter']['api secret key'])
    auth.set_access_token(config['twitter']['access token'], config['twitter']['access token secret'])
    api = API(auth)
    playerslong = api.media_upload(PLAYERSLONG_PNG)
    battleslong = api.media_upload(BATTLESLONG_PNG)
    averagelong = api.media_upload(AVERAGELONG_PNG)
    api.update_status(status='Long-term view of active accounts, with downtime and multi-day catchup errors omitted', media_ids=[playerslong.media_id, battleslong.media_id, averagelong.media_id])
def upload_long_term_charts(config):
    auth = OAuthHandler(config['twitter']['api key'], config['twitter']['api secret key'])
    auth.set_access_token(config['twitter']['access token'], config['twitter']['access token secret'])
    api = API(auth)
    playerslong = api.media_upload(PLAYERSLONG_PNG)
    battleslong = api.media_upload(BATTLESLONG_PNG)
    averagelong = api.media_upload(AVERAGELONG_PNG)
    api.update_status(status='Long-term view of active accounts, with downtime and multi-day catchup errors omitted', media_ids=[playerslong.media_id, battleslong.media_id, averagelong.media_id])