Skip to content
Snippets Groups Projects
Commit a41e66cc authored by Philipp Schäfer's avatar Philipp Schäfer
Browse files

LauncherScript: now does not stop if invalid reproduction ID is specified

parent a89dab7f
No related branches found
No related tags found
No related merge requests found
...@@ -144,7 +144,8 @@ class VAComposedIniParser: ...@@ -144,7 +144,8 @@ class VAComposedIniParser:
sSection = "Reproduction:" + sReproductionID sSection = "Reproduction:" + sReproductionID
if not reproductionIni.has_section(sSection): if not reproductionIni.has_section(sSection):
print( "ERROR: Reproduction module with ID: '" + sReproductionID + "' not available in respective ini file '" + sFileToRead + "'") print( "ERROR: Reproduction module with ID: '" + sReproductionID + "' not available in respective ini file '" + sFileToRead + "'")
sys.exit( ErrorCodes.ERROR_INVALID_REPRODUCTION_ID ) #sys.exit( ErrorCodes.ERROR_INVALID_REPRODUCTION_ID )
return False
reproductionIni[sSection]["Enabled"] = "True" reproductionIni[sSection]["Enabled"] = "True"
with open( sFileToWrite, 'w' ) as inifile: with open( sFileToWrite, 'w' ) as inifile:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment