Commit 4cd232d1 authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

fix minor bug in __main__

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