This commit is contained in:
Nikos Kouremenos 2005-06-30 23:30:16 +00:00
parent 44379a87f0
commit 15934c1ece
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ class Interface:
else:
if kind == 'url' and not\
(uri.startswith('http://') or uri.startswith('http://')):
(uri.startswith('http://') or uri.startswith('https://')):
uri = 'http://' + uri
elif kind == 'mail' and not uri.startswith('mailto:'):
uri = 'mailto:' + uri