aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Lepori <aleporia@gmail.com>2023-02-06 10:24:11 +0100
committerAndrea Lepori <aleporia@gmail.com>2023-02-06 10:24:19 +0100
commit3d133709c35cfd601d5537bd11be59bc21d7812c (patch)
tree3dfdbff1d61a7f610a9dc08897c7711acfd08930
parentMerge branch 'dev' (diff)
downloadscout-subs-3d133709c35cfd601d5537bd11be59bc21d7812c.tar.gz
scout-subs-3d133709c35cfd601d5537bd11be59bc21d7812c.zip
fix missing variable for medic export
-rw-r--r--server/views.py1
-rw-r--r--version.txt2
2 files changed, 2 insertions, 1 deletions
diff --git a/server/views.py b/server/views.py
index 6d332a6..0ba3f63 100644
--- a/server/views.py
+++ b/server/views.py
@@ -1753,6 +1753,7 @@ def data_request(request):
for user in users:
usercode = UserCode.objects.filter(user=user)[0]
medic = usercode.medic
+ nationality = usercode.nationality
nat_gs = ""
if "svizzera" in nationality.lower():
diff --git a/version.txt b/version.txt
index cabc73b..77b0a14 100644
--- a/version.txt
+++ b/version.txt
@@ -1,2 +1,2 @@
version=0.6
-rev=17
+rev=18