fix bad logic by aldafu

This commit is contained in:
Nikos Kouremenos 2005-06-30 16:28:36 +00:00
parent 8c5d719814
commit 9199cffa2d
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ class Interface:
pass
else:
if kind == 'url' and not uri.startswith('http://'):
if kind == 'url' and uri.startswith('www.'):
uri = 'http://' + uri
elif kind == 'mail' and not uri.startswith('mailto:'):
uri = 'mailto:' + uri