def home(): getter = apigetter() url = get_url_image('50f3a681-24ff-4c98-815c-94922e07b701', '0_0') imagepath = 'static/images/diagram.png' getter.save_image(url, imagepath) code = request.args.get("code") if code is not None: events.share(token=loft_meetup.get_token(code=code)) return render_template('home.html')
def home(): code = request.args.get("code") if code is not None: events.share(token=loft_meetup.get_token(code=code)) return render_template('home.html')