diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-09-15 16:43:34 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-09-15 16:43:34 +0200 |
commit | a32a156e18c378296c492716279eb2256962808c (patch) | |
tree | 85c3a1eb95792a3d9be56d20ae87a02afb02cc17 /ishtar_common | |
parent | 2cedfb9a8553d92a288c3ee319b58fba87fe3550 (diff) | |
download | Ishtar-a32a156e18c378296c492716279eb2256962808c.tar.bz2 Ishtar-a32a156e18c378296c492716279eb2256962808c.zip |
Fix typo
Diffstat (limited to 'ishtar_common')
-rw-r--r-- | ishtar_common/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 64c8a14f2..0cefde4b5 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -1059,7 +1059,7 @@ class TinyUrl(models.Model): def decode_id(cls, value): i = 0 for c in value: - i = i * self.CHAR_MAP_LEN + cls.CHAR_MAP.index(c) + i = i * cls.CHAR_MAP_LEN + cls.CHAR_MAP.index(c) return i |