Fix data paths in update automation
- Fixed default data-dir in auto_update_and_learn.py (was pointing to old iCloud path) - Updated run_update_and_learn.sh to explicitly pass correct data-dir - Now saves data to /Projekte/Lotto/data instead of iCloud This ensures automatic updates save to the correct location. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
cd "/Users/sebastianfrohlich/Projekte/Lotto"
|
cd "/Users/sebastianfrohlich/Projekte/Lotto"
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
python scripts/automation/auto_update_and_learn.py
|
python scripts/automation/auto_update_and_learn.py --data-dir /Users/sebastianfrohlich/Projekte/Lotto/data
|
||||||
|
|||||||
@@ -457,7 +457,7 @@ def main():
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--data-dir',
|
'--data-dir',
|
||||||
type=str,
|
type=str,
|
||||||
default="/Users/sebastianfrohlich/Library/Mobile Documents/com~apple~CloudDocs/Jupyter Notebooks/Lotto/data",
|
default="/Users/sebastianfrohlich/Projekte/Lotto/data",
|
||||||
help='Daten-Verzeichnis'
|
help='Daten-Verzeichnis'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user