Save UPnP externa port after creating mapping

master
Peter Šurda 6 years ago
parent cd0972c0f3
commit e15d9e3e03
Signed by untrusted user: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87
  1. 1
      src/upnp.py

@ -284,6 +284,7 @@ class uPnPThread(threading.Thread, StoppableThread):
shared.extPort = extPort
self.extPort = extPort
BMConfigParser().set('bitmessagesettings', 'extport', str(extPort))
BMConfigParser().save()
break
except UPnPError:
logger.debug("UPnP error: ", exc_info=True)

Loading…
Cancel
Save