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
diff options
context:
space:
mode:
authorArjen Hiemstra <a.hiemstra@ultimaker.com>2015-07-01 12:33:44 +0300
committerArjen Hiemstra <a.hiemstra@ultimaker.com>2015-07-01 12:33:44 +0300
commit9542819c7f5e2f3be9050cd81c0f33bfa0e32b88 (patch)
tree380d0a3b57537fc6895737d7d61e537c0b0d4e80
parentd7c5238b7f231389bef1cadb21219fa356dcfb1f (diff)
Remove the cleanup code as it causes too many issues15.06.011.15.06.01
-rw-r--r--cura/CuraApplication.py19
1 files changed, 1 insertions, 18 deletions
diff --git a/cura/CuraApplication.py b/cura/CuraApplication.py
index 8b67ec5467..a7c82e87ab 100644
--- a/cura/CuraApplication.py
+++ b/cura/CuraApplication.py
@@ -53,24 +53,7 @@ class CuraApplication(QtApplication):
if not hasattr(sys, "frozen"):
Resources.addResourcePath(os.path.join(os.path.abspath(os.path.dirname(__file__)), ".."))
- # Reset the configuration files if they exist on the machine, only for 15.05.xx releases
- try:
- Resources.ApplicationIdentifier = "cura"
- parser = configparser.ConfigParser()
- parser.read(Resources.getStoragePath(Resources.PreferencesLocation, "cura.cfg"))
- except FileNotFoundError:
- pass
- else:
- if parser["general"]["version"] != "2":
- Logger.log("i", "Found old settings files, removing them")
-
- os.remove(Resources.getStoragePath(Resources.PreferencesLocation, "cura.cfg"))
-
- path = Resources.getStorageLocation(Resources.SettingsLocation)
- for file in os.listdir(path):
- os.remove(os.path.join(path, file))
-
- super().__init__(name = "cura", version = "15.06.00")
+ super().__init__(name = "cura", version = "15.06.01")
self.setWindowIcon(QIcon(Resources.getPath(Resources.ImagesLocation, "cura-icon.png")))