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 | 0c84f52950b3715472013b4353e3e56f6f12d035 (patch) | |
tree | 85c3a1eb95792a3d9be56d20ae87a02afb02cc17 /ishtar_common | |
parent | a2dde44fffe60c0efb886f311f6879057b2640e6 (diff) | |
download | Ishtar-0c84f52950b3715472013b4353e3e56f6f12d035.tar.bz2 Ishtar-0c84f52950b3715472013b4353e3e56f6f12d035.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 |