summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWookey <wookey@wookware.org>2016-01-27 04:27:38 +0000
committerWookey <wookey@wookware.org>2016-01-27 04:27:38 +0000
commit9ec3b9d1f73d23076f8de63afeae424281da4e5c (patch)
tree1712c0c37c34a60263389b416709d89479a761d9
parentb63ac244681f6e89d13e181bc728e12d9332e2a2 (diff)
parent6357efa0b6f0e5d673c55014db7d2c9f22f87c8f (diff)
downloadtroggle-9ec3b9d1f73d23076f8de63afeae424281da4e5c.tar.gz
troggle-9ec3b9d1f73d23076f8de63afeae424281da4e5c.tar.bz2
troggle-9ec3b9d1f73d23076f8de63afeae424281da4e5c.zip
Merge 'expofiles' instead of 'expoimages' config changes
-rw-r--r--localsettingspotatohut.py4
-rw-r--r--localsettingsserver.py4
-rw-r--r--localsettingsubuntu.py4
-rw-r--r--parsers/surveys.py10
4 files changed, 11 insertions, 11 deletions
diff --git a/localsettingspotatohut.py b/localsettingspotatohut.py
index e5e91d6..54318f8 100644
--- a/localsettingspotatohut.py
+++ b/localsettingspotatohut.py
@@ -33,8 +33,8 @@ CAVERN = 'cavern'
THREEDTOPOS = '3dtopos'
EXPOWEB = REPOS_ROOT_PATH + 'expoweb/'
SURVEYS = REPOS_ROOT_PATH
-SURVEY_SCANS = REPOS_ROOT_PATH + 'expoimages/'
-FILES = REPOS_ROOT_PATH + 'expoimages'
+SURVEY_SCANS = REPOS_ROOT_PATH + 'expofiles/'
+FILES = REPOS_ROOT_PATH + 'expofiles'
PYTHON_PATH = '/home/expo/troggle/'
diff --git a/localsettingsserver.py b/localsettingsserver.py
index fe1b013..6edb968 100644
--- a/localsettingsserver.py
+++ b/localsettingsserver.py
@@ -31,8 +31,8 @@ CAVERN = 'cavern'
THREEDTOPOS = '3dtopos'
EXPOWEB = REPOS_ROOT_PATH + 'expoweb/'
SURVEYS = REPOS_ROOT_PATH
-SURVEY_SCANS = REPOS_ROOT_PATH + 'expoimages/'
-FILES = REPOS_ROOT_PATH + 'expoimages'
+SURVEY_SCANS = REPOS_ROOT_PATH + 'expofiles/'
+FILES = REPOS_ROOT_PATH + 'expofiles'
PYTHON_PATH = REPOS_ROOT_PATH + 'troggle/'
diff --git a/localsettingsubuntu.py b/localsettingsubuntu.py
index a50d208..9779555 100644
--- a/localsettingsubuntu.py
+++ b/localsettingsubuntu.py
@@ -30,8 +30,8 @@ CAVERN = 'cavern'
THREEDTOPOS = '3dtopos'
EXPOWEB = REPOS_ROOT_PATH + 'expoweb/'
SURVEYS = REPOS_ROOT_PATH
-SURVEY_SCANS = REPOS_ROOT_PATH + 'expoimages/'
-FILES = REPOS_ROOT_PATH + 'expoimages'
+SURVEY_SCANS = REPOS_ROOT_PATH + 'expofiles/'
+FILES = REPOS_ROOT_PATH + 'expofiles'
EXPOWEB_URL = '/'
SURVEYS_URL = '/survey_scans/'
diff --git a/parsers/surveys.py b/parsers/surveys.py
index 07e8cc2..df73ae0 100644
--- a/parsers/surveys.py
+++ b/parsers/surveys.py
@@ -129,11 +129,11 @@ def parseSurveyScans(expedition, logfile=None):
survey=survey,
new_since_parsing=False,
)
- #print "Added scanned image at " + str(scanObj)
- if scanFormat=="png":
- if isInterlacedPNG(os.path.join(settings.SURVEY_SCANS, "surveyscans", file_)):
- print file_+ " is an interlaced PNG. No can do."
- continue
+ print "Added scanned image at " + str(scanObj)
+ #if scanFormat=="png":
+ #if isInterlacedPNG(os.path.join(settings.SURVEY_SCANS, "surveyscans", file_)):
+ # print file_+ " is an interlaced PNG. No can do."
+ #continue
scanObj.save()
# dead