diff --git a/extensions/fablabchemnitz_cleanup.py b/extensions/fablabchemnitz_cleanup.py index 99697fab..f1009889 100644 --- a/extensions/fablabchemnitz_cleanup.py +++ b/extensions/fablabchemnitz_cleanup.py @@ -58,5 +58,4 @@ class Cleanup(inkex.Effect): declarations[i] = prop + ':' + new_val node.set('style', ';'.join(declarations)) -if __name__ == '__main__': - Cleanup().run() \ No newline at end of file +Cleanup().run() \ No newline at end of file diff --git a/extensions/fablabchemnitz_sprockets.py b/extensions/fablabchemnitz_sprockets.py index 997bdda8..ea2b6c94 100644 --- a/extensions/fablabchemnitz_sprockets.py +++ b/extensions/fablabchemnitz_sprockets.py @@ -209,6 +209,4 @@ class Sprockets(inkex.Effect): 'd' : svg } g = etree.SubElement(self.svg.get_current_layer(), inkex.addNS('path','svg'), g_attribs) -if __name__ == '__main__': - e = Sprockets() - e.run() \ No newline at end of file +Sprockets().run() \ No newline at end of file