From 4d8feef56ad91589f642b9542ad48839abe2129a Mon Sep 17 00:00:00 2001 From: Mario Voigt Date: Tue, 18 Aug 2020 20:25:22 +0200 Subject: [PATCH] no message --- extensions/fablabchemnitz_cleanup.py | 3 +-- extensions/fablabchemnitz_sprockets.py | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) 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