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
commit1bac650aeeb7db415df82a9dda7a457f451856d4 (patch)
tree2d6a26d05c685e2dd3419be0c6824c706f999b8f /core
parent9fc80bed35a03295fad492601f802cab830144ae (diff)
downloadtroggle-1bac650aeeb7db415df82a9dda7a457f451856d4.tar.gz
troggle-1bac650aeeb7db415df82a9dda7a457f451856d4.tar.bz2
troggle-1bac650aeeb7db415df82a9dda7a457f451856d4.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))