Skip to content

Commit

Permalink
Use correct number of return values
Browse files Browse the repository at this point in the history
Fixes #195
  • Loading branch information
rolandgeider committed Nov 2, 2015
1 parent c4137f5 commit 462d5a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wger/manager/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,8 +484,8 @@ def get_canonical_representation(self):
if len(exercise['setting_list']) > common_reps:
exercise['setting_list'].pop(-1)
exercise['setting_obj_list'].pop(-1)
setting_text, setting_list = reps_smart_text(exercise['setting_obj_list'],
set_obj)
setting_text, setting_list, weight_list, reps_list = \
reps_smart_text(exercise['setting_obj_list'], set_obj)
exercise['setting_text'] = setting_text

canonical_repr.append({'obj': set_obj,
Expand Down
1 change: 1 addition & 0 deletions wger/software/templates/changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ <h4>2015-XX-XX</h4>
Other improvements and bugfixes
<a href="https://github.com/rolandgeider/wger/issues/206">#206</a>
<a href="https://github.com/rolandgeider/wger/issues/202">#202</a>
<a href="https://github.com/rolandgeider/wger/issues/195">#195</a>
<a href="https://github.com/rolandgeider/wger/issues/190">#190</a>
<a href="https://github.com/rolandgeider/wger/issues/194">#194</a>
<a href="https://github.com/rolandgeider/wger/issues/185">#185</a>
Expand Down

0 comments on commit 462d5a6

Please sign in to comment.