Template: LGTM - don't catch BaseException

This commit is contained in:
Chris Hennes
2021-09-19 14:37:47 -05:00
parent ccaa439d1a
commit 105dd61e84

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")