Slim down args
This commit is contained in:
4
Utils.py
4
Utils.py
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user