Logging and modules issues fixes
This commit is contained in:
parent
cde97bbc0e
commit
26d75d99fd
|
@ -371,7 +371,7 @@ class Main(object):
|
|||
|
||||
elif state.kivy:
|
||||
config.remove_option('bitmessagesettings', 'dontconnect')
|
||||
# pylint: disable=no-member, import-error
|
||||
# pylint: disable=no-member, import-error, no-name-in-module
|
||||
from bitmessagekivy.mpybit import NavigateApp
|
||||
state.kivyapp = NavigateApp()
|
||||
state.kivyapp.run()
|
||||
|
|
|
@ -91,8 +91,8 @@ class UDPSocket(BMProto): # pylint: disable=too-many-instance-attributes
|
|||
if remoteport is False:
|
||||
return True
|
||||
logger.debug(
|
||||
"received peer discovery from {}:{} (port {}):",
|
||||
self.destination.host, self.destination.port, remoteport)
|
||||
"received peer discovery from {}:{} (port {}):".format(
|
||||
self.destination.host, self.destination.port, remoteport))
|
||||
if self.local:
|
||||
state.discoveredPeers[Peer(self.destination.host, remoteport)] = \
|
||||
time.time()
|
||||
|
|
Reference in New Issue
Block a user