Diff
Differences From Artifact [bdefdbfe53]:
- File channels/favicon.py — part of check-in [8c0b288e66] at 2015-05-12 20:03:29 on branch trunk — Use GenericChannel.prepare_filters hook to update "favicon" filenames in rows. Precompile row_to_fn regexps. Fix google_find_homepage params (just a function, not a method). (user: mario, size: 12147) [annotate] [blame] [check-ins using]
To Artifact [7782a3f227]:
- File channels/favicon.py — part of check-in [2335ea7a46] at 2015-05-13 00:00:39 on branch trunk — Move mime_fmt() into regular function. Fix live365 ahttp feedback= bug. Regroup functions and update a few comments in channels/__init__ (user: mario, size: 12195) [annotate] [blame] [check-ins using]
149 150 151 152 153 154 155 156 157 158 159 160 161 162 | 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 | + | ok = fav_google_ico2png(row["homepage"], favicon_fn) else: ok = fav_from_homepage(row["homepage"], favicon_fn) # Update TreeView if ok: self.update_pixstore(row, pixstore, i) row["favicon"] = favicon_fn # catch HTTP Timeouts etc., so update_all() row processing just continues.. except Exception as e: log.WARN("favicon.update_rows():", e) pass |