diff --git a/plugins/pureftp/index.py b/plugins/pureftp/index.py index 0e8cb43f9..9b552921a 100755 --- a/plugins/pureftp/index.py +++ b/plugins/pureftp/index.py @@ -80,7 +80,7 @@ def contentReplace(content): content = content.replace('{$SERVER_PATH}', service_path) return content - def __release_port(port): + def ftp_release_port(port): from collections import namedtuple try: import firewall_api @@ -91,7 +91,7 @@ def contentReplace(content): def openFtpPort(): for i in ["21", "39000:40000"]: - __release_port(i) + ftp_release_port(i) return True def initDreplace():