mirror of
https://github.com/quantum5/punyverse.git
synced 2025-04-24 13:11:57 -04:00
Removed annoying error message in py2exe launcher.
This commit is contained in:
parent
af65c9cc6e
commit
44889fbf11
|
@ -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')
|
||||||
|
|
Loading…
Reference in a new issue