Fix a slice off-by-one
This commit is contained in:
parent
a2c04a359e
commit
16e4bd7f7d
|
@ -280,7 +280,7 @@ class TerminatorTerm:
|
||||||
nameopen = "_Open Link"
|
nameopen = "_Open Link"
|
||||||
namecopy = "_Copy Link Address"
|
namecopy = "_Copy Link Address"
|
||||||
else:
|
else:
|
||||||
if url[0][0:6] != "mailto:":
|
if url[0][0:7] != "mailto:":
|
||||||
address = "mailto:" + url[0]
|
address = "mailto:" + url[0]
|
||||||
else:
|
else:
|
||||||
address = url[0]
|
address = url[0]
|
||||||
|
|
Loading…
Reference in New Issue