Try to fix Linux save path

This commit is contained in:
Mike A. Trethewey
2020-03-04 01:22:45 -08:00
parent 27c685f211
commit 126a7793a4

View File

@@ -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')