diff --git a/gramps/gui/dbman.py b/gramps/gui/dbman.py index 8a377a1a1..a2401ff4b 100644 --- a/gramps/gui/dbman.py +++ b/gramps/gui/dbman.py @@ -1013,7 +1013,7 @@ class DbManager(CLIDbManager, ManagedWindow): """ Handle the reception of drag data """ - drag_value = selection.get_data().decode() + drag_value = selection.get_data().decode().strip(' \r\n\x00') fname = None type = None title = None