|
|
@ -253,10 +253,12 @@ def changedetection_app(config=None, datastore_o=None):
|
|
|
|
if uuid == 'first':
|
|
|
|
if uuid == 'first':
|
|
|
|
uuid= list(datastore.data['watching'].keys()).pop()
|
|
|
|
uuid= list(datastore.data['watching'].keys()).pop()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
extra_stylesheets = ['/static/css/diff.css']
|
|
|
|
extra_stylesheets = ['/static/css/diff.css']
|
|
|
|
|
|
|
|
try:
|
|
|
|
watch = datastore.data['watching'][uuid]
|
|
|
|
watch = datastore.data['watching'][uuid]
|
|
|
|
|
|
|
|
except KeyError:
|
|
|
|
|
|
|
|
messages.append({'class': 'error', 'message': "No history found for the specified link, bad link?"})
|
|
|
|
|
|
|
|
return redirect(url_for('index'))
|
|
|
|
|
|
|
|
|
|
|
|
dates = list(watch['history'].keys())
|
|
|
|
dates = list(watch['history'].keys())
|
|
|
|
# Convert to int, sort and back to str again
|
|
|
|
# Convert to int, sort and back to str again
|
|
|
|