From cb4128436c213a99072683ed4c988b39dc744c36 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Thu, 28 May 2020 01:38:35 +0100 Subject: expung imagekit and clean import lists --- utils.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'utils.py') diff --git a/utils.py b/utils.py index 7f9ccdd..515b38d 100644 --- a/utils.py +++ b/utils.py @@ -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 -- cgit v1.2.3