From: daid Date: Wed, 3 Dec 2014 14:40:41 +0000 (+0100) Subject: Improve stats posting. Update versio number to RC9 X-Git-Tag: lulzbot-14.12~9 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=1d97af5d82da9585f8c35cff895837f84f8bc64d;p=cura.git Improve stats posting. Update versio number to RC9 --- diff --git a/Cura/util/profile.py b/Cura/util/profile.py index 6bbf197e..ec84bb4b 100644 --- a/Cura/util/profile.py +++ b/Cura/util/profile.py @@ -819,7 +819,7 @@ def getPreferencesString(): p = [] global settingsList for set in settingsList: - if set.isPreference(): + if (set.isPreference() and set.getName() != 'lastFile' and set.getName() != 'youmagine_token') or set.isMachineSetting(): p.append(set.getName() + "=" + set.getValue().encode('utf-8')) ret = '\b'.join(p) ret = base64.b64encode(zlib.compress(ret, 9)) diff --git a/Cura/util/sliceEngine.py b/Cura/util/sliceEngine.py index e6d7653c..1c5d540a 100644 --- a/Cura/util/sliceEngine.py +++ b/Cura/util/sliceEngine.py @@ -158,7 +158,7 @@ class EngineResult(object): 'version': version.getVersion(), } try: - f = urllib2.urlopen("https://www.youmagine.com/curastats/", data = urllib.urlencode(data), timeout = 1) + f = urllib2.urlopen("https://stats.youmagine.com/curastats/slice", data = urllib.urlencode(data), timeout = 1) f.read() f.close() except: diff --git a/package.sh b/package.sh index d8816d1b..9124d2c5 100755 --- a/package.sh +++ b/package.sh @@ -19,7 +19,7 @@ BUILD_TARGET=${1:-none} ##Do we need to create the final archive ARCHIVE_FOR_DISTRIBUTION=1 ##Which version name are we appending to the final archive -export BUILD_NAME=14.11-RC8 +export BUILD_NAME=14.12-RC9 TARGET_DIR=Cura-${BUILD_NAME}-${BUILD_TARGET} ##Revision