Skip to content

Commit

Permalink
fixed bug in branching of field based generator function
Browse files Browse the repository at this point in the history
  • Loading branch information
fourthetrees committed Jul 12, 2017
1 parent 2942b77 commit 2c4a718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reshape/field.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def run_generators(project,config,state,data):
value = gen['value']
if value == 'current-time':
state,rows = generate_current_time(project,gen,state,rows)
if value == 'literal':
elif value == 'literal':
state,rows = generate_literal(project,gen,state,rows)
else:
error = mkerr('unrecognized `value` argument: ' + value)
Expand Down

0 comments on commit 2c4a718

Please sign in to comment.