Edit the following Python code such that the function produces output in the format "<Name> said: '<Message>'.
def generate_message(name, message):
    print(name + ' said: ' + message)
def generate_message(name, message):
    print(name + ' said: ' + "'" + message + "'")