1
0

fix set_server. keep compatibility with the gtk interface

This commit is contained in:
thomasv
2012-10-02 12:52:47 +02:00
parent 385b515439
commit e7e9e8916b
2 changed files with 6 additions and 2 deletions

View File

@@ -347,7 +347,7 @@ class Wallet:
def is_up_to_date(self):
return self.interface.responses.empty() and not self.interface.unanswered_requests
def set_server(self, server, proxy):
def set_server(self, server, proxy=None):
# raise an error if the format isnt correct
a,b,c = server.split(':')
b = int(b)