From b2f38aab94be2477fb9fea65ff924213f098d04a Mon Sep 17 00:00:00 2001
From: Mario Voigt <mariovoigt89@t-online.de>
Date: Sun, 23 Aug 2020 23:25:12 +0200
Subject: [PATCH] small fix in migrate groups

---
 extensions/fablabchemnitz_migrategroups.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/extensions/fablabchemnitz_migrategroups.py b/extensions/fablabchemnitz_migrategroups.py
index 10cc5aa8..c7d951d0 100644
--- a/extensions/fablabchemnitz_migrategroups.py
+++ b/extensions/fablabchemnitz_migrategroups.py
@@ -149,6 +149,7 @@ class MigrateGroups(inkex.Effect):
         if self.options.showdroplist:
             self.msg(str(len(self.allNonMigrates)) + " elements were removed during nodes while migration:")
             for i in self.allNonMigrates:
-                self.msg(i.tag.replace("{http://www.w3.org/2000/svg}","svg:") + " id:" + i.get('id'))            
+                if i.get('id') is not None:
+                    self.msg(i.tag.replace("{http://www.w3.org/2000/svg}","svg:") + " id:" + i.get('id'))            
                     
 MigrateGroups().run()
\ No newline at end of file