diff options
author | daid <daid303@gmail.com> | 2014-12-03 17:40:41 +0300 |
---|---|---|
committer | daid <daid303@gmail.com> | 2014-12-03 17:40:41 +0300 |
commit | dd1d9c175f4cffe640a67d042a91a22a85897d5c (patch) | |
tree | f2008cd157e25edc68f5fb9bf911bf2c41d90750 /Cura/util | |
parent | 3cdda7c39b737ca85cd58d034583a0ab395779c9 (diff) |
Improve stats posting. Update versio number to RC914.12-RC9
Diffstat (limited to 'Cura/util')
-rw-r--r-- | Cura/util/profile.py | 2 | ||||
-rw-r--r-- | Cura/util/sliceEngine.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Cura/util/profile.py b/Cura/util/profile.py index a27e7f3095..1c29a0d876 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 78ee7faad7..2fd21e4a01 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: |