Ejemplo n.º 1
0
def create_editor(host, account, password):
    c = server.ObserverClient()

    c.server = host

    c.setup(account, password)

    return editor(c)
Ejemplo n.º 2
0
def create_editor(host, account, password, avatar='creator'):
    client=server.ObserverClient()

    client.server = host

    client.setup(account, password, avatar)

    avatar = client.create_avatar(avatar)

    return editor(client, avatar)