This commit is contained in:
Zsolt Ero
2025-09-18 19:35:56 +02:00
parent 604f27e7db
commit b24f096ad4
13 changed files with 93 additions and 221 deletions

View File

@@ -1,4 +1,3 @@
import json
import subprocess
from pathlib import Path
@@ -22,8 +21,6 @@ class Configuration:
repo_root = Path(__file__).parent.parent.parent.parent
ofm_config_dir = repo_root / 'config'
ofm_config = json.loads((ofm_config_dir / 'config.json').read_text())
rclone_config = ofm_config_dir / 'rclone.conf'
rclone_bin = subprocess.run(['which', 'rclone'], capture_output=True, text=True).stdout.strip()