diff --git a/src/GrampsDb/_ReadGrdb.py b/src/GrampsDb/_ReadGrdb.py index 9772b4de9..5d3074fce 100644 --- a/src/GrampsDb/_ReadGrdb.py +++ b/src/GrampsDb/_ReadGrdb.py @@ -103,20 +103,20 @@ def importData(database, filename, callback=None,cl=0,use_trans=True): other_database.get_event_from_handle, 'other_table': other_database.event_map, }, - 'Source' : {'table' : database.family_map, + 'Source' : {'table' : database.source_map, 'id_table' : database.sid_trans, - 'add_obj' : database.add_family, - 'find_next_gramps_id': database.find_next_family_gramps_id, + 'add_obj' : database.add_source, + 'find_next_gramps_id': database.find_next_source_gramps_id, 'other_get_from_handle': - other_database.get_family_from_handle, + other_database.get_source_from_handle, 'other_table': other_database.source_map, }, - 'Place' : {'table' : database.source_map, + 'Place' : {'table' : database.place_map, 'id_table' : database.pid_trans, - 'add_obj' : database.add_source, - 'find_next_gramps_id' :database.find_next_source_gramps_id, + 'add_obj' : database.add_place, + 'find_next_gramps_id' :database.find_next_place_gramps_id, 'other_get_from_handle': - other_database.get_source_from_handle, + other_database.get_place_from_handle, 'other_table': other_database.place_map, }, 'Media' : {'table' : database.media_map,