■ ■ ■ ■ ■ ■
changedetectionio/update_worker.py
| skipped 264 lines |
265 | 265 | | # Different exceptions mean that we may or may not want to bump the snapshot, trigger notifications etc |
266 | 266 | | if process_changedetection_results: |
267 | 267 | | try: |
268 | | - | watch = self.datastore.data['watching'][uuid] |
| 268 | + | watch = self.datastore.data['watching'].get(uuid) |
269 | 269 | | |
270 | 270 | | # For the FIRST time we check a site, or a change detected, save the snapshot. |
271 | 271 | | if changed_detected or not watch['last_checked']: |
| skipped 41 lines |