Template: LGTM - don't catch BaseException

This commit is contained in:
Chris Hennes
2021-09-19 14:37:47 -05:00
parent ff5bf3e0df
commit 2a75451460

View File

@@ -52,7 +52,7 @@ def makeSnapshotWithoutGui():
inp=coin.SoInput()
try:
inp.setBuffer(iv)
except:
except Exception:
tempPath = tempfile.gettempdir()
fileName = tempPath + os.sep + "cone.iv"
file = open(fileName, "w")