localhost IPv6

This commit is contained in:
Florian Mounier
2014-01-30 14:48:18 +01:00
parent 0a14b94b1a
commit 46c1db55da
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
__version__ = '1.0.1'
__version__ = '1.0.2'
import os

View File

@@ -108,7 +108,7 @@ class TermWebSocket(Route, tornado.websocket.WebSocketHandler):
@property
def is_local(self):
return self.bind == '127.0.0.1'
return self.bind in ['127.0.0.1', '::1']
@property
def pw(self):