mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 03:29:00 +08:00
Remove trailing slash in Windows configuration path
It shouldn't matter, but we're getting crash reports from this path so let's try this.
This commit is contained in:
parent
4652c3be0f
commit
e152fd641b
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
# Copyright (c) 2015 Ultimaker B.V.
|
# Copyright (c) 2018 Ultimaker B.V.
|
||||||
# Cura is released under the terms of the LGPLv3 or higher.
|
# Cura is released under the terms of the LGPLv3 or higher.
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
@ -27,7 +27,7 @@ known_args = vars(parser.parse_known_args()[0])
|
|||||||
if not known_args["debug"]:
|
if not known_args["debug"]:
|
||||||
def get_cura_dir_path():
|
def get_cura_dir_path():
|
||||||
if Platform.isWindows():
|
if Platform.isWindows():
|
||||||
return os.path.expanduser("~/AppData/Roaming/cura/")
|
return os.path.expanduser("~/AppData/Roaming/cura")
|
||||||
elif Platform.isLinux():
|
elif Platform.isLinux():
|
||||||
return os.path.expanduser("~/.local/share/cura")
|
return os.path.expanduser("~/.local/share/cura")
|
||||||
elif Platform.isOSX():
|
elif Platform.isOSX():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user