diff --git a/newswire.py b/newswire.py index a16482270..b3a65fd44 100644 --- a/newswire.py +++ b/newswire.py @@ -158,6 +158,8 @@ def _downloadNewswireFeedFavicon(session, baseDir: str, os.mkdir(baseDir + '/favicons') linkFilename = url.replace('/', '#') imageFilename = baseDir + '/favicons/' + linkFilename + if os.path.isfile(imageFilename): + return True try: with open(imageFilename, 'wb+') as fp: fp.write(imageData)