mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2025-12-11 18:45:34 +00:00
WIP, separate out the Flask from everything else, get pytest working
This commit is contained in:
@@ -13,8 +13,9 @@ from copy import deepcopy
|
||||
class ChangeDetectionStore:
|
||||
lock = Lock()
|
||||
|
||||
def __init__(self):
|
||||
def __init__(self, datastore_path="/datastore"):
|
||||
self.needs_write = False
|
||||
self.datastore_path = datastore_path
|
||||
|
||||
self.__data = {
|
||||
'note': "Hello! If you change this file manually, please be sure to restart your changedetection.io instance!",
|
||||
|
||||
Reference in New Issue
Block a user