summaryrefslogtreecommitdiffstats
path: root/parsers/subcaves.py
diff options
context:
space:
mode:
Diffstat (limited to 'parsers/subcaves.py')
-rw-r--r--parsers/subcaves.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/parsers/subcaves.py b/parsers/subcaves.py
index 5889a91..0762007 100644
--- a/parsers/subcaves.py
+++ b/parsers/subcaves.py
@@ -1,11 +1,13 @@
'''
This module is the part of troggle that parses descriptions of cave parts (subcaves) from the legacy html files and saves them in the troggle database as instances of the model Subcave. Unfortunately, this parser can not be very flexible because the legacy format is poorly structured.
'''
+import sys
+import os
+import re
+import logging
-import sys, os
-
-import os, re, logging
from django.conf import settings
+
from troggle.core.models import Subcave, Cave
from utils import save_carefully