X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;ds=sidebyside;f=account.pyx;h=dd324afef31db016186e0e21cd1a223c694f0bf4;hb=04a67111cf9c4610630188dc9b4200c79e0640b2;hp=8973bfe626dbdda27fe858e6515bc88999ccca26;hpb=e054bff2c22c31b216ace9066e07c4d65cbc4657;p=python-purple diff --git a/account.pyx b/account.pyx index 8973bfe..dd324af 100644 --- a/account.pyx +++ b/account.pyx @@ -387,7 +387,11 @@ cdef class Account: if self.__exists: return False else: - account.purple_account_new(self.__username, self.__protocol.id) + # FIXME: Using purple_accounts_add(...) to save to xml + # I think we could improve this .. + account.purple_accounts_add(account.purple_account_new( \ + self.__username, self.__protocol.id)) + self.__exists = True return True