diff options
Diffstat (limited to 'hypervideo_gui.py')
-rw-r--r-- | hypervideo_gui.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/hypervideo_gui.py b/hypervideo_gui.py index 3c9c009..7cf176a 100644 --- a/hypervideo_gui.py +++ b/hypervideo_gui.py @@ -394,7 +394,10 @@ def get_default_download_path(): #From: https://stackoverflow.com/questions/35851281/python-finding-the-users-downloads-folder """ if os.name == 'posix': - return os.path.join(os.path.expanduser('~'), 'Downloads') + dpath = '/tmp/hypervideo-gui/' + if not os.path.exists(dpath): + os.makedirs(dpath) + return os.path.join(dpath) if __name__ == '__main__': app = QApplication(sys.argv) |