diff farol/cache.py @ 33:752b8bfe0baf

Use FarolLuz method to get a document ID (increase dependency version)
author Benoît Allard <benoit.allard@greenbone.net>
date Mon, 06 Oct 2014 11:44:01 +0200
parents eedf9606ab33
children 8a9fdf02bf5b
line wrap: on
line diff
--- a/farol/cache.py	Thu Oct 02 15:40:38 2014 +0200
+++ b/farol/cache.py	Mon Oct 06 11:44:01 2014 +0200
@@ -91,7 +91,7 @@
         abort(403)
     if request.method != 'POST':
         return render_template('cache/save.j2',
-                               id_=get_current()._tracking._identification._id)
+                               id_=get_current().getDocId())
     # Get some kind of filename, and save the cvrf on cache (disk)
     path = secure_filename(request.form['fname'])
     path, _ = os.path.splitext(path)

http://farol.wald.intevation.org