Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/Cura
diff options
context:
space:
mode:
Diffstat (limited to 'Cura')
-rw-r--r--Cura/util/profile.py2
-rw-r--r--Cura/util/sliceEngine.py2
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: