mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
try to import ngsolve before starting netgen gui
This commit is contained in:
parent
61a462b0be
commit
679fe05d19
@ -8,6 +8,10 @@ def handle_arguments():
|
||||
imp.load_module('__main__', pyfile, argv[1], (".py", "r", imp.PY_SOURCE))
|
||||
|
||||
def main():
|
||||
try:
|
||||
import ngsolve
|
||||
except:
|
||||
pass
|
||||
from .gui import win
|
||||
th = threading.Thread(target=handle_arguments)
|
||||
th.start()
|
||||
|
Loading…
Reference in New Issue
Block a user