@@ -88,7 +88,7 @@ ftypes['grid_V'] = { 'grid' : 'v', \
grids = []
for key in ftypes.keys():
- curr_grid = ftypes[ftype]['grid']
+ curr_grid = ftypes[key]['grid']
if(curr_grid not in grids):
grids.append(curr_grid)