Fix up parser paths so everything is found

This commit is contained in:
expo
2012-08-05 00:26:05 +02:00
parent 4a21720745
commit 05004aa874
2 changed files with 3 additions and 2 deletions

View File

@@ -89,7 +89,7 @@ def listdir(*directories):
# add survey scans
def parseSurveyScans(year, logfile=None):
# yearFileList = listdir(year.year)
yearPath=os.path.join(settings.SURVEY_SCANS, "years", year.year)
yearPath=os.path.join(settings.SURVEY_SCANS, year.year)
yearFileList=os.listdir(yearPath)
print yearFileList
for surveyFolder in yearFileList: