forked from expo/troggle
Do not make an entrance redirect for entrances without there own pages
This commit is contained in:
parent
8c2cf48195
commit
27e224619e
@ -228,6 +228,7 @@ def LoadCaveTab():
|
||||
newCaveAndEntrance.save()
|
||||
|
||||
logging.info("Added CaveAndEntrance "+str(newCaveAndEntrance)+"\n")
|
||||
if line[AutogenFile] != "":
|
||||
f = flatpages.models.EntranceRedirect(originalURL = line[AutogenFile], entrance = newEntrance)
|
||||
f.save()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user