1
0

Fixed bug where switching servers causes assert failure.

This commit is contained in:
Amir Taaki
2012-08-27 04:02:15 +02:00
parent 3fe5ba85b2
commit 6dfb9e12c7
2 changed files with 6 additions and 4 deletions

View File

@@ -350,7 +350,7 @@ class Wallet:
# raise an error if the format isnt correct
a,b,c = server.split(':')
b = int(b)
assert c in ['t','h','n']
assert c in ['t', 'h', 'n']
# set the server
if server != self.server:
self.server = server