diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2020-05-28 01:38:35 +0100 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2020-05-28 01:38:35 +0100 |
commit | cb4128436c213a99072683ed4c988b39dc744c36 (patch) | |
tree | 38aa7262c16d7ab18d5c3d846fbd7ba753c217c7 /utils.py | |
parent | 6cc578435c4939e45f164e7481433da8a1f694f0 (diff) | |
download | troggle-cb4128436c213a99072683ed4c988b39dc744c36.tar.gz troggle-cb4128436c213a99072683ed4c988b39dc744c36.tar.bz2 troggle-cb4128436c213a99072683ed4c988b39dc744c36.zip |
expung imagekit and clean import lists
Diffstat (limited to 'utils.py')
-rw-r--r-- | utils.py | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,6 +1,9 @@ +import random +import re +import logging + from django.conf import settings from django.shortcuts import render -import random, re, logging from troggle.core.models import CaveDescription def weighted_choice(lst): @@ -159,6 +162,4 @@ def html_to_wiki(text, codec = "utf-8"): #substitutions for regex, repl in re_subs: out = regex.sub(repl, out) - return out - - + return out
\ No newline at end of file |