Removed annoying error message in py2exe launcher.

This commit is contained in:
Quantum 2014-01-05 20:12:47 -05:00
parent af65c9cc6e
commit 44889fbf11

View file

@ -24,6 +24,10 @@ if __name__ == '__main__':
sys.exit('This is only meant to be ran frozen.') sys.exit('This is only meant to be ran frozen.')
sys.path.insert(0, dir) sys.path.insert(0, dir)
try:
import punyverse
except ImportError:
pass
# Model indirectly depends on _glgeom to handle textures # Model indirectly depends on _glgeom to handle textures
load_dll(dir, '_glgeom') load_dll(dir, '_glgeom')