fix ffc cli option

This commit is contained in:
janis
2023-06-09 09:44:32 +02:00
parent f0346465fd
commit 506baf2cd3
3 changed files with 6 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
{ {
"abbr":"FSR", "abbr":"ffc",
"displayName":"FidelityFX_CLI", "displayName":"FidelityFX_CLI",
"lastUsedFilePath":"sc", "lastUsedFilePath":"sc",
"fileNameBeginning":"ig", "fileNameBeginning":"ig",
@@ -13,5 +13,5 @@
"engineLink": "", "engineLink": "",
"supports": [ "upscaling", "sharpening" ], "supports": [ "upscaling", "sharpening" ],
"engineDownloadLink":"", "engineDownloadLink":"",
"filesToInclude": [ "fsr.py" ] "filesToInclude": [ "ffc.py" ]
} }

View File

@@ -54,7 +54,9 @@ def performChecks ( args, ap ):
try: try:
engineInfo[ args.engine.lower() ] engineInfo[ args.engine.lower() ]
except KeyError: except KeyError:
print( '\n==> ERROR: Engine not available. Ensure you have specified a valid engine' ) print( '\n==> ERROR: Engine not available. Ensure you have specified a valid engine. Possible engines: ' )
for entry in engineList:
print( ' --> ' + entry )
return False return False
# Check scalefactor argument and also verify that engine supports upscaling # Check scalefactor argument and also verify that engine supports upscaling