commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 03/04: grc: change default filepath to docu


From: git
Subject: [Commit-gnuradio] [gnuradio] 03/04: grc: change default filepath to documents dir for windows only
Date: Fri, 21 Oct 2016 19:00:27 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch maint
in repository gnuradio.

commit ff8d4abb2973b487f94f2ff0dcacda53a51a2093
Author: gnieboer <address@hidden>
Date:   Thu Oct 20 21:47:15 2016 -0400

    grc: change default filepath to documents dir for windows only
---
 grc/gui/Constants.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/grc/gui/Constants.py b/grc/gui/Constants.py
index 022564c..6a7b54d 100644
--- a/grc/gui/Constants.py
+++ b/grc/gui/Constants.py
@@ -23,7 +23,7 @@ from ..core.Constants import *
 
 
 # default path for the open/save dialogs
-DEFAULT_FILE_PATH = os.getcwd()
+DEFAULT_FILE_PATH = os.getcwd() if os.name != 'nt' else 
os.path.expanduser("~/Documents")
 
 # file extensions
 IMAGE_FILE_EXTENSION = '.png'



reply via email to

[Prev in Thread] Current Thread [Next in Thread]