forked from expo/troggle
SurvexBlocks now importing in deatil
This commit is contained in:
@@ -16,21 +16,21 @@ import troggle.parsers.logbooks
|
||||
import troggle.parsers.QMs
|
||||
|
||||
def import_caves():
|
||||
print("Importing Caves to ",end="")
|
||||
print("-- Importing Caves to ",end="")
|
||||
print(django.db.connections.databases['default']['NAME'])
|
||||
troggle.parsers.caves.readcaves()
|
||||
|
||||
def import_people():
|
||||
print("Importing People (folk.csv) to ",end="")
|
||||
print("-- Importing People (folk.csv) to ",end="")
|
||||
print(django.db.connections.databases['default']['NAME'])
|
||||
troggle.parsers.people.LoadPersonsExpos()
|
||||
|
||||
def import_surveyscans():
|
||||
print("Importing Survey Scans")
|
||||
print("-- Importing Survey Scans")
|
||||
troggle.parsers.surveys.LoadListScans()
|
||||
|
||||
def import_logbooks():
|
||||
print("Importing Logbooks")
|
||||
print("-- Importing Logbooks")
|
||||
troggle.parsers.logbooks.LoadLogbooks()
|
||||
|
||||
def import_QMs():
|
||||
@@ -40,7 +40,7 @@ def import_QMs():
|
||||
def import_survex():
|
||||
# when this import is moved to the top with the rest it all crashes horribly
|
||||
import troggle.parsers.survex
|
||||
print("Importing Survex Blocks")
|
||||
print("-- Importing Survex Blocks")
|
||||
print(" - Survex Blocks")
|
||||
troggle.parsers.survex.LoadSurvexBlocks()
|
||||
print(" - Survex entrances x/y/z Positions")
|
||||
@@ -53,6 +53,6 @@ def import_loadpos():
|
||||
troggle.parsers.survex.LoadPos()
|
||||
|
||||
def import_drawingsfiles():
|
||||
print("Importing Drawings files")
|
||||
print("-- Importing Drawings files")
|
||||
troggle.parsers.surveys.LoadDrawingFiles()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user