diff options
Diffstat (limited to 'UVtools.Powershell/List-Layers.ps1')
-rw-r--r-- | UVtools.Powershell/List-Layers.ps1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/UVtools.Powershell/List-Layers.ps1 b/UVtools.Powershell/List-Layers.ps1 index 1eb5cee..4aef1ee 100644 --- a/UVtools.Powershell/List-Layers.ps1 +++ b/UVtools.Powershell/List-Layers.ps1 @@ -78,7 +78,7 @@ $inputFile = read-host "Enter input file" $inputFile = $null } else { - $slicerFile = [UVtools.Core.FileFormats.FileFormat]::FindByExtension($inputFile, $true, $true) + $slicerFile = [UVtools.Core.FileFormats.FileFormat]::FindByExtensionOrFilePath($inputFile, $true) if(!$slicerFile){ Write-host "Invalid file format, re-enter." $inputFile = $null |