mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-16 17:47:07 +00:00
[svn] Changed addToArgsSurveyStation such that it does not pass a surveystation model to html_to_wiki. Which was unecessary as html_to_wiki returned it without modification. By removing it html_to_wiki can be cleaned up.
This commit is contained in:
@@ -189,7 +189,7 @@ def LoadCaveTab():
|
|||||||
if line[CSVname]:
|
if line[CSVname]:
|
||||||
surveyPoint = models.SurveyStation(name = line[CSVname])
|
surveyPoint = models.SurveyStation(name = line[CSVname])
|
||||||
surveyPoint.save()
|
surveyPoint.save()
|
||||||
args[modelName] = html_to_wiki(surveyPoint)
|
args[modelName] = surveyPoint
|
||||||
addToArgsSurveyStation(TagPoint, 'tag_station')
|
addToArgsSurveyStation(TagPoint, 'tag_station')
|
||||||
addToArgsSurveyStation(ExactEntrance, 'exact_station')
|
addToArgsSurveyStation(ExactEntrance, 'exact_station')
|
||||||
addToArgsSurveyStation(OtherPoint, 'other_station')
|
addToArgsSurveyStation(OtherPoint, 'other_station')
|
||||||
|
|||||||
Reference in New Issue
Block a user