Skip to content

Commit 0a8338d

Browse files
committed
import miniupnpc
1 parent 322c02f commit 0a8338d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/start_full_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import logging
33
import logging.config
44
import signal
5+
import miniupnpc
56

67
import aiosqlite
78

@@ -61,7 +62,6 @@ async def async_main():
6162
if config["enable_upnp"]:
6263
log.info(f"Attempting to enable UPnP (open up port {config['port']})")
6364
try:
64-
#miniupnpc = pip_import("miniupnpc", "miniupnpc==2.1") Causing problems on windows
6565
upnp = miniupnpc.UPnP()
6666
upnp.discoverdelay = 5
6767
upnp.discover()

0 commit comments

Comments
 (0)