mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2025-12-15 20:46:35 +00:00
Always override tag version (load from disk in future, so we can add it at build time)
This commit is contained in:
@@ -25,7 +25,6 @@ class ChangeDetectionStore:
|
||||
self.__data = {
|
||||
'note': "Hello! If you change this file manually, please be sure to restart your changedetection.io instance!",
|
||||
'watching': {},
|
||||
'tag': '0.27',
|
||||
'settings': {
|
||||
'headers': {
|
||||
'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36',
|
||||
@@ -80,6 +79,8 @@ class ChangeDetectionStore:
|
||||
if 'requests' in from_disk['settings']:
|
||||
self.__data['settings']['requests'].update(from_disk['settings']['requests'])
|
||||
|
||||
self.__data['tag'] = "0.27"
|
||||
|
||||
# Reinitialise each `watching` with our generic_definition in the case that we add a new var in the future.
|
||||
# @todo pretty sure theres a python we todo this with an abstracted(?) object!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user