svg_tetraflexagon_editor: remove duplicate code
authorAntonio Ospite <ao2@ao2.it>
Wed, 27 Jun 2018 15:37:46 +0000 (17:37 +0200)
committerAntonio Ospite <ao2@ao2.it>
Thu, 28 Jun 2018 14:34:52 +0000 (16:34 +0200)
src/svg_tetraflexagon_editor.py

index 0952e8a..90668e3 100755 (executable)
@@ -63,8 +63,6 @@ class SvgwriteTetraflexagonDiagram(TetraflexagonDiagram):
                                                fill_color=(0.5, 0.5, 0.5, 0.2))
             self.backend.active_group = old_active_group
 
-            self.backend.active_group = old_active_group
-
         # Draw the normal template for squares
         for square in self.tetraflexagon.squares:
             self.draw_square_template(square)