summaryrefslogtreecommitdiff
path: root/archaeological_operations/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-10-28 12:09:28 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-10-28 12:09:28 +0100
commitbbba99c79674514c3500c0c78dbeaefea73daf8b (patch)
treeac3390dd1254cb32a763b62313e31ddebe7bf241 /archaeological_operations/models.py
parentfb22edab8c276147c66d896fc02a1e94c240703a (diff)
downloadIshtar-bbba99c79674514c3500c0c78dbeaefea73daf8b.tar.bz2
Ishtar-bbba99c79674514c3500c0c78dbeaefea73daf8b.zip
Fix statistics for operations - Warehouse: long timeout for stats
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r--archaeological_operations/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py
index b547db375..3538db2f8 100644
--- a/archaeological_operations/models.py
+++ b/archaeological_operations/models.py
@@ -1546,7 +1546,7 @@ class Operation(ClosedItem, DocumentItem, BaseHistorizedItem, QRCodeItem,
for res in q.all():
label = str(res['object_types__label'])
if label == 'None':
- label = _("No type")
+ label = str(_("No type"))
nbs.append(
(label,
Find.objects.filter(