mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 00:32:57 -04:00
fix minor crash on input error
This commit is contained in:
parent
e68cb77e4a
commit
e1a136a21e
@ -330,7 +330,7 @@ class Installer:
|
||||
# Load the p3d file to read out the required packages
|
||||
mf = Multifile()
|
||||
if not mf.openRead(p3dfile):
|
||||
Installer.notify.error("Not a Panda3D application: %s" % (p3dFilename))
|
||||
Installer.notify.error("Not a Panda3D application: %s" % (p3dfile))
|
||||
return
|
||||
|
||||
# Now load the p3dInfo file.
|
||||
@ -966,6 +966,8 @@ class Installer:
|
||||
self.notify.warning("Unable to invoke NSIS command.")
|
||||
|
||||
nsifile.unlink()
|
||||
# TODO: should empty hostDir here to clean up after ourselves.
|
||||
|
||||
return output
|
||||
|
||||
def os_walk(self, top):
|
||||
|
Loading…
x
Reference in New Issue
Block a user