def welcomepage(): """This is the first page anyone sees.""" worldId = request.args.get('worldId') if (worldId == None): worldId = random.randint(1, 100000) worldname = WorldMap.generate_name(worldId, server) return render_template('map.html', worldId=worldId, worldname=worldname)
def welcomepage(): """This is the first page anyone sees.""" worldId = request.args.get("worldId") if worldId == None: worldId = random.randint(1, 100000) worldname = WorldMap.generate_name(worldId, server) return render_template("map.html", worldId=worldId, worldname=worldname)