mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2026-09-23 05:46:50 +00:00
Chdir is not needed because we add the file from the full path, but make it 'relative' in the Zip
This commit is contained in:
@@ -454,8 +454,6 @@ def changedetection_app(config=None, datastore_o=None):
|
||||
# Be sure we're written fresh
|
||||
datastore.sync_to_json()
|
||||
|
||||
os.chdir(app.config['datastore_path'])
|
||||
|
||||
# Add the index
|
||||
zipObj.write(os.path.join(app.config['datastore_path'], "url-watches.json"), arcname="url-watches.json")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user