Exemple #1
0
def create_editor(host, account, password):
    c = server.ObserverClient()

    c.server = host

    c.setup(account, password)

    return editor(c)
Exemple #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)