aboutsummaryrefslogtreecommitdiffstats
path: root/server
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 /server
parentMerge branch 'dev' (diff)
downloadscout-subs-3d133709c35cfd601d5537bd11be59bc21d7812c.tar.gz
scout-subs-3d133709c35cfd601d5537bd11be59bc21d7812c.zip
fix missing variable for medic export
Diffstat (limited to 'server')
-rw-r--r--server/views.py1
1 files changed, 1 insertions, 0 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():