[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[H-client-devel] changing node URL not working
From: |
Antonio Gallo |
Subject: |
[H-client-devel] changing node URL not working |
Date: |
Wed, 02 May 2012 08:20:08 +0200 |
I'm trying to change the URL of the server to test some features using
my local version of h-node but it does not work
When (from the GUI) you click on preferences and then change the URL, it
is still connecting to www.h-node.org
Here is the piece of code that should do the shift from h-node.org to
another server (file gtkclient.py):
def setNode(self, widget):
"""Set the node."""
self.client.logout()
self.client.errors = []
self.client.node = self.serverEntry.get_text()
self.updateStatus()
self.synchronize(None)
self.prefWindow.destroy()
where:
self.client.node = self.serverEntry.get_text()
should be the right instruction
but if I add :
print self.client.request.domain
it always prints:
www.h-node.org
Inside hlibrary.py we have:
@node.setter
def node(self, domain):
"""Change server."""
self.request.domain = domain
I can't find the error
- [H-client-devel] changing node URL not working,
Antonio Gallo <=