diff options
Diffstat (limited to 'scripts/optimize-old-videos.ts')
-rw-r--r-- | scripts/optimize-old-videos.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/optimize-old-videos.ts b/scripts/optimize-old-videos.ts index 8e2e7fcf4..01d30244f 100644 --- a/scripts/optimize-old-videos.ts +++ b/scripts/optimize-old-videos.ts | |||
@@ -72,7 +72,7 @@ async function run () { | |||
72 | 72 | ||
73 | console.log('Failed to optimize %s, restoring original', basename(currentFile)) | 73 | console.log('Failed to optimize %s, restoring original', basename(currentFile)) |
74 | await move(backupFile, currentFile, { overwrite: true }) | 74 | await move(backupFile, currentFile, { overwrite: true }) |
75 | await createTorrentAndSetInfoHash(video, video, file) | 75 | await createTorrentAndSetInfoHash(video, file) |
76 | await file.save() | 76 | await file.save() |
77 | } | 77 | } |
78 | } | 78 | } |