diff --git a/ChangeLog b/ChangeLog index 71c1b2b8d..fdf454874 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2006-11-28 Brian Matherly + * src/GrampsDb/_GrampsBSDDB.py: fix path for bsddb env in Windows. + 2006-11-28 Alex Roitman * src/plugins/MediaManager.py (get_rel_path): Correctly work out the drive letter for the path. diff --git a/src/GrampsDb/_GrampsBSDDB.py b/src/GrampsDb/_GrampsBSDDB.py index 0627471b7..27053c660 100644 --- a/src/GrampsDb/_GrampsBSDDB.py +++ b/src/GrampsDb/_GrampsBSDDB.py @@ -356,8 +356,10 @@ class GrampsBSDDB(GrampsDbBase,UpdateCallback): env_flags = env_flags | db.DB_RECOVER # Environment name is now based on the filename + drive, tmp_name = os.path.splitdrive(self.full_name) + tmp_name = tmp_name.lstrip(os.sep) env_name = os.path.join(os.path.expanduser(const.env_dir), - self.full_name[1:]) + tmp_name) # Create the env dir if it does not exist if not os.path.isdir(env_name):