Skip to content

Commit 31893a0

Browse files
committed
Fix double-escaped backslash paths and remaining David.Johnson references
1 parent 6d682b8 commit 31893a0

13 files changed

Lines changed: 19 additions & 19 deletions

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ pip install watchdog
6969
All scripts live in `scripts/`. Run them from the repo root:
7070

7171
```powershell
72-
cd C:\Users\David.Johnson\ComicAutomation
72+
cd C:\git\ComicAutomation
7373
```
7474

7575
### Live Watcher

config/CBZWatcher_Task.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<Exec>
2727
<Command>python</Command>
2828
<Arguments>scripts\cbz_watcher.py</Arguments>
29-
<WorkingDirectory>C:\Users\David.Johnson\ComicAutomation</WorkingDirectory>
29+
<WorkingDirectory>C:\git\ComicAutomation</WorkingDirectory>
3030
</Exec>
3131
</Actions>
3232
</Task>

docs/cbz_sanitizer.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Edit the constants at the top of `scripts\cbz_sanitizer.py`:
1313
```python
1414
SCAN_FOLDER = r"\\tower\media\comics\Comix" # folder to scan
1515
LOG_FILE = r"C:\\git\\ComicAutomation\cbz_sanitizer.log"
16-
PROGRESS_FILE = r"C:\Users\David.Johnson\ComicAutomation\progress_tracking\cbz_sanitizer_progress.json"
16+
PROGRESS_FILE = r"C:\git\ComicAutomation\progress_tracking\cbz_sanitizer_progress.json"
1717
```
1818

1919
---
@@ -22,7 +22,7 @@ PROGRESS_FILE = r"C:\Users\David.Johnson\ComicAutomation\progress_tracking\cbz_s
2222

2323
```powershell
2424
# Run from the repo root:
25-
cd C:\Users\David.Johnson\ComicAutomation
25+
cd C:\git\ComicAutomation
2626
2727
python scripts\cbz_sanitizer.py # scan SCAN_FOLDER, newest-modified dirs first
2828
python scripts\cbz_sanitizer.py --sort=oldest # oldest-modified dirs first

docs/cbz_watcher.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ See [shared_pipeline.md](shared_pipeline.md) for the full `sanitize()` step brea
130130
3. Update the **Action** paths if your Python or repo location differs:
131131
- **Program:** path to your `python.exe`
132132
- **Arguments:** `scripts\cbz_watcher.py`
133-
- **Start in:** `C:\Users\David.Johnson\ComicAutomation`
133+
- **Start in:** `C:\git\ComicAutomation`
134134
4. Under **Triggers**, confirm the trigger is set to **At log on**.
135135

136136
Alternatively, just double-click `config\run_watcher.bat` for a manual session — it handles `watchdog` installation automatically.

docs/overview.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The CBZ Automation Suite is a collection of Python scripts for monitoring, clean
1919
## Repository
2020

2121
- **GitHub:** https://github.com/Decksx/cbz-automation-suite
22-
- **Local path:** `C:\Users\David.Johnson\ComicAutomation`
22+
- **Local path:** `C:\git\ComicAutomation`
2323

2424
---
2525

@@ -59,7 +59,7 @@ pip install watchdog
5959
All scripts live in `scripts/`. Run from the **repo root**:
6060

6161
```powershell
62-
cd C:\Users\David.Johnson\ComicAutomation
62+
cd C:\git\ComicAutomation
6363
python scripts\cbz_sanitizer.py --dry-run
6464
python scripts\cbz_watcher.py
6565
```
@@ -68,7 +68,7 @@ python scripts\cbz_watcher.py
6868

6969
## First-time Setup
7070

71-
1. Clone the repo to `C:\Users\David.Johnson\ComicAutomation`
71+
1. Clone the repo to `C:\git\ComicAutomation`
7272
2. Copy `config\routing.example.json` to `C:\\git\\ComicAutomation\routing.json`
7373
3. Edit `routing.json` to set your actual destination paths and source rules
7474
4. Edit the `WATCH_FOLDER`, `LOG_FILE`, and `ROUTING_FILE` constants at the top of `scripts\cbz_watcher.py`

scripts/cbz_compilation_resolver.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
# ─────────────────────────────────────────────
3737
# CONFIGURATION — edit these as needed
3838
# ─────────────────────────────────────────────
39-
LOG_FILE = r"C:\\git\\ComicAutomation\cbz_compilation_resolver.log"
40-
PROCESSED_FOLDER = r"C:\\git\\ComicAutomation\Processed" # individual archives moved here
39+
LOG_FILE = r"C:\git\ComicAutomation\cbz_compilation_resolver.log"
40+
PROCESSED_FOLDER = r"C:\git\ComicAutomation\Processed" # individual archives moved here
4141

4242
# Image file extensions treated as comic pages
4343
IMAGE_EXTENSIONS = {".jpg", ".jpeg", ".png", ".webp", ".gif", ".bmp", ".tiff", ".tif"}

scripts/cbz_folder_merger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
r"\\tower\media\comics\Comix",
3838
r"\\tower\media\comics\Manga",
3939
]
40-
LOG_FILE = r"C:\\git\\ComicAutomation\cbz_folder_merger.log"
40+
LOG_FILE = r"C:\git\ComicAutomation\cbz_folder_merger.log"
4141
# ─────────────────────────────────────────────
4242

4343
logging.basicConfig(

scripts/cbz_gap_checker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
r"\\tower\media\comics\Comix",
2727
#r"\\tower\media\comics\Manga",
2828
]
29-
OUTPUT_FOLDER = r"C:\\git\\ComicAutomation"
29+
OUTPUT_FOLDER = r"C:\git\ComicAutomation"
3030

3131
# Gaps are only reported when the jump between consecutive issue numbers
3232
# exceeds this threshold. Set to 1 to report every single missing integer.

scripts/cbz_number_tagger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
r"\\tower\media\comics\Comix",
3131
r"\\tower\media\comics\Manga",
3232
]
33-
LOG_FILE = r"C:\\git\\ComicAutomation\cbz_number_tagger.log"
33+
LOG_FILE = r"C:\git\ComicAutomation\cbz_number_tagger.log"
3434
# ─────────────────────────────────────────────
3535

3636
logging.basicConfig(

scripts/cbz_sanitizer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
# CONFIGURATION — edit these as needed
2727
# ─────────────────────────────────────────────
2828
SCAN_FOLDER = r"\\tower\media\comics\Comix" # Folder to sanitize
29-
LOG_FILE = r"C:\\git\\ComicAutomation\cbz_sanitizer.log"
30-
PROGRESS_FILE = r"C:\Users\David.Johnson\ComicAutomation\progress_tracking\cbz_sanitizer_progress.json"
29+
LOG_FILE = r"C:\git\ComicAutomation\cbz_sanitizer.log"
30+
PROGRESS_FILE = r"C:\git\ComicAutomation\progress_tracking\cbz_sanitizer_progress.json"
3131
# ─────────────────────────────────────────────
3232

3333
COMICINFO_TEMPLATE = """<ComicInfo

0 commit comments

Comments
 (0)