diff --git a/newswire.py b/newswire.py index 4fca15a7..7874ecb9 100644 --- a/newswire.py +++ b/newswire.py @@ -390,8 +390,9 @@ def getRSSfromDict(baseDir: str, newswire: {}, description = firstParagraphFromString(fields[4]) rssStr += ' ' + description + '\n' url = fields[1] - if domainFull not in url: - url = httpPrefix + '://' + domainFull + url + if '://' not in url: + if domainFull not in url: + url = httpPrefix + '://' + domainFull + url rssStr += ' ' + url + '\n' rssDateStr = pubDate.strftime("%a, %d %b %Y %H:%M:%S UT")