Skip to content
Snippets Groups Projects
Commit 4cd232d1 authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

fix minor bug in __main__

parent 0a53773b
No related branches found
No related tags found
No related merge requests found
...@@ -50,7 +50,7 @@ def main(): ...@@ -50,7 +50,7 @@ def main():
# error is thrown if first option is not a base class, so Launcher # error is thrown if first option is not a base class, so Launcher
# cannot be executed by mistake. # cannot be executed by mistake.
c = eval('{0}()'.format(opt.base_class)) c = eval('{0}()'.format(opt.base_class))
c.launch(sys.argv[2:]) c.launch(args = sys.argv[2:])
return None return None
if __name__ == '__main__': if __name__ == '__main__':
......
...@@ -398,6 +398,7 @@ class _fluid_particle_base(_code): ...@@ -398,6 +398,7 @@ class _fluid_particle_base(_code):
return None return None
def launch( def launch(
self, self,
args = [],
**kwargs): **kwargs):
return None return None
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment