Mercurial > libervia-backend
comparison src/plugins/plugin_misc_nat-port.py @ 1562:7d91dff71067
plugin NAT Port: added instruction with pip when miniupnpc is missing
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 02 Nov 2015 22:09:13 +0100 |
parents | e281ed2c21db |
children | d17772b0fe22 |
comparison
equal
deleted
inserted
replaced
1561:c09429bf587f | 1562:7d91dff71067 |
---|---|
28 import threading | 28 import threading |
29 | 29 |
30 try: | 30 try: |
31 import miniupnpc | 31 import miniupnpc |
32 except ImportError: | 32 except ImportError: |
33 raise exceptions.MissingModule(u"Missing module MiniUPnPc, please download/install it (and its Python binding) at http://miniupnp.free.fr/") | 33 raise exceptions.MissingModule(u"Missing module MiniUPnPc, please download/install it (and its Python binding) at http://miniupnp.free.fr/ (or use pip install miniupnpc)") |
34 | 34 |
35 | 35 |
36 PLUGIN_INFO = { | 36 PLUGIN_INFO = { |
37 "name": "NAT port mapping", | 37 "name": "NAT port mapping", |
38 "import_name": "NAT-PORT", | 38 "import_name": "NAT-PORT", |