mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2026-04-11 15:26:19 +00:00
Updated UpdatePeer logic
This commit is contained in:
@@ -72,7 +72,7 @@ class Peer:
|
|||||||
peers = []
|
peers = []
|
||||||
for peer in self.configuration.getPeersList():
|
for peer in self.configuration.getPeersList():
|
||||||
# Make sure to exclude your own data when updating since its not really relevant
|
# Make sure to exclude your own data when updating since its not really relevant
|
||||||
if peer.id != self.id:
|
if peer.id == self.id:
|
||||||
continue
|
continue
|
||||||
peers.append(peer)
|
peers.append(peer)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user