2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-16 10:07:25 +00:00

expung imagekit and clean import lists

This commit is contained in:
Philip Sargent
2020-05-28 01:38:35 +01:00
parent 6cc578435c
commit cb4128436c
7 changed files with 20 additions and 81 deletions

View File

@@ -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