Skip to content

Commit

Permalink
Fix AttributeError in Travis CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lucassz committed Jun 15, 2018
1 parent a3ff731 commit 2585096
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion webapp/apps/dynamic/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,9 @@ def behavior_results(request, pk):
model = url.unique_inputs

first_year = model.first_year
micro = model.micro_sim.unique_inputs
micro = (model.micro_sim.unique_inputs if model.micro_sim
else TaxSaveInputs())

if (micro.json_text is not None and (micro.json_text.raw_reform_text or
micro.json_text.raw_assumption_text)):
reform_file_contents = micro.json_text.raw_reform_text
Expand Down

0 comments on commit 2585096

Please sign in to comment.