Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Rouzax committed Feb 26, 2024
1 parent 6044a19 commit 1b90985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TorrentScript.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ try {
# Reading Language Code lookup
try {
$LanguageCodesPath = Join-Path $PSScriptRoot 'LanguageCodes.json'
$LanguageCodes = Get-Content $configPath -ErrorAction Stop | ConvertFrom-Json -ErrorAction Stop
$LanguageCodes = Get-Content $LanguageCodesPath -ErrorAction Stop | ConvertFrom-Json -ErrorAction Stop
} catch {
Write-Host 'Exception:' $_.Exception.Message -ForegroundColor Red
Write-Host 'Invalid LanguageCodes.json' -ForegroundColor Red
Expand Down

0 comments on commit 1b90985

Please sign in to comment.