Don't break https:// urls

This commit is contained in:
Florian Bruhin 2014-04-22 08:42:47 +02:00
parent 7645f4fdea
commit 27f88ffa47

View File

@ -146,7 +146,7 @@ class Config(QObject):
lines = []
seclines = configdata.SECTION_DESC[secname].splitlines()
for secline in seclines:
if 'http://' in secline:
if 'http://' in secline or 'https://' in secline:
lines.append('# ' + secline)
else:
lines += wrapper.wrap(secline)