announcethread Flake8 Fixes

This commit is contained in:
lakshyacis 2019-08-29 19:24:13 +05:30
parent b48197ff0d
commit 548fcf0d0a
No known key found for this signature in database
GPG Key ID: D2C539C8EC63E9EB

View File

@ -29,5 +29,8 @@ class AnnounceThread(StoppableThread):
if not connection.announcing:
continue
for stream in state.streamsInWhichIAmParticipating:
addr = (stream, state.Peer('127.0.0.1', BMConfigParser().safeGetInt("bitmessagesettings", "port")), time.time())
addr = (
stream,
state.Peer('127.0.0.1', BMConfigParser().safeGetInt("bitmessagesettings", "port")),
time.time())
connection.append_write_buf(BMProto.assembleAddr([addr]))