def upload_mode_breakdown_to_twitter(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)
    battles = api.media_upload(MODEBREAKDOWN_PNG)
    percent = api.media_upload(MODEBREAKDOWNPERCENT_PNG)
    api.update_status(status='Estimated split between WW2 and CW battles', media_ids=[battles.media_id, percent.media_id])
def upload_mode_breakdown_to_twitter(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)
    battles = api.media_upload(MODEBREAKDOWN_PNG)
    percent = api.media_upload(MODEBREAKDOWNPERCENT_PNG)
    api.update_status(status='Estimated split between WW2 and CW battles', media_ids=[battles.media_id, percent.media_id])