pull/938/head
dgtlmoon 2 years ago
parent bb03879aad
commit da7f613e9f

@ -1407,7 +1407,7 @@ def changedetection_app(config=None, datastore_o=None):
return redirect(url_for('index'))
@app.route("/api/r-url", methods=['GET'])
@app.route("/api/share-url", methods=['GET'])
@login_required
def form_share_put_watch():
"""Given a watch UUID, upload the info and return a share-link

@ -265,7 +265,7 @@ class update_worker(threading.Thread):
# Different exceptions mean that we may or may not want to bump the snapshot, trigger notifications etc
if process_changedetection_results:
try:
watch = self.datastore.data['watching'][uuid]
watch = self.datastore.data['watching'].get(uuid)
# For the FIRST time we check a site, or a change detected, save the snapshot.
if changed_detected or not watch['last_checked']:

Loading…
Cancel
Save