only remove one peer
This commit is contained in:
parent
66989a78e5
commit
04f994d4b7
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ class Peer(object):
|
|||
elif action == 'removepeer':
|
||||
peerid = args[0]
|
||||
if peerid in self.info['peers']:
|
||||
del self.info['peers']
|
||||
del self.info['peers'][peerid]
|
||||
# trigger peer update
|
||||
elif action == 'editusername':
|
||||
self.info['username'] = args[0]
|
||||
|
|
Loading…
Reference in a new issue