aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/Dawn/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/Dawn/views.py b/python/Dawn/views.py
index 2ab6a640..90c807ef 100644
--- a/python/Dawn/views.py
+++ b/python/Dawn/views.py
@@ -406,7 +406,7 @@ def edit_counterparty(cpcode):
cp.instructions = old_instructions
else:
cp.instructions = cp.name + '.pdf'
- instructions.save(os.path.join(app.config['CP_FOLDER'],
+ instructions.data.save(os.path.join(app.config['CP_FOLDER'],
cp.instructions))
session.commit()
return redirect(url_for('list_counterparties'))