src/Config/_GrampsConfigKeys.py: Better default for report output.

src/gen/db/dbconst.py: Remove constants that are duplicated in const.py.
src/GrampsDb/_GrampsBSDDB.py: Use ENV_DIR from const.py.

svn: r9601
This commit is contained in:
Brian Matherly
2007-12-27 21:44:15 +00:00
parent 88ff3ab413
commit 85fd9a2d1b
4 changed files with 8 additions and 14 deletions

View File

@ -32,17 +32,6 @@ import os
# constants
#
#-------------------------------------------------------------------------
if os.environ.has_key('USERPROFILE'):
USER_HOME = os.environ['USERPROFILE']
HOME_DIR = os.path.join(USER_HOME,'gramps')
else:
USER_HOME = os.environ['HOME']
HOME_DIR = os.path.join(USER_HOME,'.gramps')
ENV_DIR = os.path.join(HOME_DIR,"env")
APP_GRAMPS = "application/x-gramps"
APP_GRAMPS_XML = "application/x-gramps-xml"
APP_GEDCOM = "application/x-gedcom"