Slim down args

This commit is contained in:
Mike A. Trethewey
2020-03-12 03:31:39 -07:00
parent f69d86eca6
commit 0cb7eaa417
15 changed files with 65 additions and 417 deletions

View File

@@ -78,9 +78,7 @@ def output_path(path):
# True for expanding the tilde into a fully qualified path
documents = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, True)[0]
elif sys.platform.find("linux") or sys.platform.find("ubuntu") or sys.platform.find("unix"):
documents = os.path.expanduser("~")
print(documents)
documents = os.path.join(documents,"Documents")
documents = os.path.join(os.path.expanduser("~"),"Documents")
else:
raise NotImplementedError('Not supported yet')