From 126a7793a48b18a1567c910fec286ec7e8c410ce Mon Sep 17 00:00:00 2001 From: "Mike A. Trethewey" Date: Wed, 4 Mar 2020 01:22:45 -0800 Subject: [PATCH] Try to fix Linux save path --- Utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Utils.py b/Utils.py index d616ef22..54b1a233 100644 --- a/Utils.py +++ b/Utils.py @@ -77,6 +77,8 @@ def output_path(path): NSUserDomainMask = 1 # True for expanding the tilde into a fully qualified path documents = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, True)[0] + elif sys.platform.find("linux"): + documents = os.path.join("~","Documents") else: raise NotImplementedError('Not supported yet')