Commit 9252143c authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira
Browse files

Fixed a bug when there is no argument called env

parent 9fec0163
......@@ -50,7 +50,10 @@ class GridSubmission:
if args.grid is not None:
assert isinstance(args.grid, grid.Grid)
if(hasattr(args,'env')):
self.env = args.env #Fetching the enviroment variable
else:
self.env = None
# find, where jman is installed
jmans = bob.extension.find_executable('jman', prefixes = ['bin'])
......
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