fix bad logic by aldafu
This commit is contained in:
parent
8c5d719814
commit
9199cffa2d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue