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