mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2025-12-14 20:16:13 +00:00
hack of pytest implementation - doesnt work yet
This commit is contained in:
@@ -39,8 +39,14 @@ def main(argv):
|
||||
datastore_path = arg
|
||||
|
||||
|
||||
# Kinda weird to tell them both where `datastore_path` is right..
|
||||
|
||||
# threads can read from disk every x seconds right?
|
||||
# front end can just save
|
||||
# We just need to know which threads are looking at which UUIDs
|
||||
|
||||
# isnt there some @thingy to attach to each route to tell it, that this route needs a datastore
|
||||
app_config = {'datastore_path': datastore_path}
|
||||
|
||||
datastore = store.ChangeDetectionStore(datastore_path=app_config['datastore_path'])
|
||||
app = backend.changedetection_app(app_config, datastore)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user