summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorSam Wenham <sam@wenhams.co.uk>2019-03-09 11:18:44 +0000
committerSam Wenham <sam@wenhams.co.uk>2019-03-09 11:18:44 +0000
commitff8c5ef0c1df3cbb13b128eac7b3b9e328d99ca2 (patch)
tree2d6a26d05c685e2dd3419be0c6824c706f999b8f /core
parenta22b42e83267ee0120a6347d6f72af4fc7c0bd1b (diff)
downloadtroggle-ff8c5ef0c1df3cbb13b128eac7b3b9e328d99ca2.tar.gz
troggle-ff8c5ef0c1df3cbb13b128eac7b3b9e328d99ca2.tar.bz2
troggle-ff8c5ef0c1df3cbb13b128eac7b3b9e328d99ca2.zip
There is no point having two functions do basicaly the same thing so make the
load all logbooks call load logbook(expo) Remove the return message from load logbook as it isn't used
Diffstat (limited to 'core')
-rw-r--r--core/views_logbooks.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/views_logbooks.py b/core/views_logbooks.py
index 9fcc3eb..3ab55d6 100644
--- a/core/views_logbooks.py
+++ b/core/views_logbooks.py
@@ -77,8 +77,8 @@ def expedition(request, expeditionname):
message = ""
if "reload" in request.GET:
- message = LoadLogbookForExpedition(this_expedition)
- return render_with_context(request,'expedition.html', {'expedition': this_expedition, 'expeditions':expeditions, 'personexpeditiondays':personexpeditiondays, 'message':message, 'settings':settings, 'dateditems': dateditems })
+ LoadLogbookForExpedition(this_expedition)
+ return render_with_context(request,'expedition.html', {'expedition': this_expedition, 'expeditions':expeditions, 'personexpeditiondays':personexpeditiondays, 'settings':settings, 'dateditems': dateditems })
def get_absolute_url(self):
return ('expedition', (expedition.year))