undo
Browse files
src/lib/components/AutoTrainerScanner/AutoTrainerScanner.svelte
CHANGED
@@ -3,7 +3,6 @@
|
|
3 |
import {
|
4 |
initializeTrainerScanProgress,
|
5 |
getNextPendingImage,
|
6 |
-
markImageProcessingStarted,
|
7 |
markImageProcessingCompleted,
|
8 |
markImageProcessingFailed,
|
9 |
getScanningStats
|
@@ -120,10 +119,6 @@
|
|
120 |
scanState.currentTrainer = nextImage.trainerName;
|
121 |
|
122 |
try {
|
123 |
-
// Mark as processing to prevent re-scanning
|
124 |
-
await markImageProcessingStarted(nextImage.imagePath);
|
125 |
-
await updateProgress();
|
126 |
-
|
127 |
// Fetch remote image
|
128 |
const imageFile = await fetchRemoteImage(nextImage.remoteUrl, nextImage.imagePath);
|
129 |
|
|
|
3 |
import {
|
4 |
initializeTrainerScanProgress,
|
5 |
getNextPendingImage,
|
|
|
6 |
markImageProcessingCompleted,
|
7 |
markImageProcessingFailed,
|
8 |
getScanningStats
|
|
|
119 |
scanState.currentTrainer = nextImage.trainerName;
|
120 |
|
121 |
try {
|
|
|
|
|
|
|
|
|
122 |
// Fetch remote image
|
123 |
const imageFile = await fetchRemoteImage(nextImage.remoteUrl, nextImage.imagePath);
|
124 |
|