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:
authordaid <daid303@gmail.com>2015-01-30 17:30:00 +0300
committerdaid <daid303@gmail.com>2015-01-30 17:30:00 +0300
commitaae6ab0e31ab662a0c317b016a31a7ceb7fa8c16 (patch)
treee8f4e35fc0f5553ed8b056fa8286366a669441ef
parentf2f9f6d1d97eec136acfc7f88a1b6d906371bd39 (diff)
Set the default SD replicate folder differently on linux and mac.
-rw-r--r--Cura/util/profile.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Cura/util/profile.py b/Cura/util/profile.py
index d94ed3f855..33b7288f07 100644
--- a/Cura/util/profile.py
+++ b/Cura/util/profile.py
@@ -489,7 +489,10 @@ setting('filament_cost_meter', '0', float, 'preference', 'hidden').setLabel(_("C
setting('auto_detect_sd', 'True', bool, 'preference', 'hidden').setLabel(_("Auto detect SD card drive"), _("Auto detect the SD card. You can disable this because on some systems external hard-drives or USB sticks are detected as SD card."))
def _getMyDocumentsFolder():
- path = os.path.expanduser('~/Documents')
+ if platform.system() == "Windows":
+ path = os.path.expanduser('~/Documents')
+ else:
+ path = os.path.expanduser('~/')
if not os.path.exists(path):
path = ''