diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-08-11 19:53:16 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-08-11 19:53:16 +0200 |
| commit | 0f25bca1f9e82c20525527dcfcb613fdfb660432 (patch) | |
| tree | 071833e79d6801dcff65daf09b27af961bb92020 /archaeological_finds/models_finds.py | |
| parent | 3e3a264055718a97e1eca263f2cdedae3bcb99f0 (diff) | |
| download | Ishtar-0f25bca1f9e82c20525527dcfcb613fdfb660432.tar.bz2 Ishtar-0f25bca1f9e82c20525527dcfcb613fdfb660432.zip | |
Fix get and set localisation
Diffstat (limited to 'archaeological_finds/models_finds.py')
| -rw-r--r-- | archaeological_finds/models_finds.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py index f16efcbcc..c39dfd0b5 100644 --- a/archaeological_finds/models_finds.py +++ b/archaeological_finds/models_finds.py @@ -1054,7 +1054,7 @@ class Find(BulkUpdatedItem, ValueGetter, BaseHistorizedItem, ImageModel, if not self.container: return "" locas = self.container.get_localisations() - if len(locas) < place: + if len(locas) < (place + 1): return "" return locas[place] |
