diff --git a/Utils.py b/Utils.py index 54b1a233..55c4d347 100644 --- a/Utils.py +++ b/Utils.py @@ -77,7 +77,7 @@ 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"): + elif sys.platform.find("linux") or sys.platform.find("ubuntu") or sys.platform.find("unix"): documents = os.path.join("~","Documents") else: raise NotImplementedError('Not supported yet')