This commit is contained in:
j 2016-02-12 22:48:55 +05:30
parent 6ddbb04acf
commit 3b8787d15f

View file

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