This commit is contained in:
j 2016-02-12 22:48:55 +05:30
parent 6ddbb04acf
commit 3b8787d15f
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ class Peer(object):
peer.save()
elif action == 'removepeer':
peerid = args[0]
if peerid in self.peers['peers']:
if peerid in self.info['peers']:
del self.info['peers']
# trigger peer update
elif action == 'editusername':