def upload_long_term_mode_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)
    modelong = api.media_upload(MODEBREAKDOWNLONG_PNG)
    percentlong = api.media_upload(MODEBREAKDOWNPERCENTLONG_PNG)
    api.update_status(status='Long-term view of battles per mode', media_ids=[modelong.media_id, percentlong.media_id])
def upload_long_term_mode_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)
    modelong = api.media_upload(MODEBREAKDOWNLONG_PNG)
    percentlong = api.media_upload(MODEBREAKDOWNPERCENTLONG_PNG)
    api.update_status(status='Long-term view of battles per mode', media_ids=[modelong.media_id, percentlong.media_id])