From e15d9e3e03faf3a565e90cf9c793394f43d8ffff Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Mon, 27 Feb 2017 15:55:59 +0100 Subject: [PATCH] Save UPnP externa port after creating mapping --- src/upnp.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/upnp.py b/src/upnp.py index 29f1c937..ae93de6a 100644 --- a/src/upnp.py +++ b/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)