1
0

check protocol too

This commit is contained in:
ThomasV
2012-04-03 19:03:58 +02:00
parent 5669e2887b
commit 4b985ab535
2 changed files with 7 additions and 9 deletions

View File

@@ -298,6 +298,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']
# set the server
if server != self.server:
self.server = server