From bb0647274b1b188dd0b103013c020c60b6d21a34 Mon Sep 17 00:00:00 2001 From: Paul Culley Date: Fri, 19 Feb 2021 11:31:43 -0600 Subject: [PATCH] Fix Family Tree Manager drop error on Windows (#1132) Fixes #10734 --- gramps/gui/dbman.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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