Skip to content

Commit 852484e

Browse files
committed
tidy up
1 parent 85458b1 commit 852484e

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

0.9.x/writetex.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def effect(self):
7878
WriteTex.handle_path(self.options.additionalpath)
7979
action = self.options.action.strip("\"")
8080
if action == "settings":
81-
print('Settings are auto applied, please to switch to other tab for other functions.',
81+
print('Settings are auto applied, please switch to other tab for other functions.',
8282
file=sys.stderr)
8383
return
8484
self.options.scale = float(self.options.scale)
@@ -96,7 +96,6 @@ def effect(self):
9696
node.attrib.get(
9797
'{%s}text' % WriteTexNS, '').decode('string-escape')))
9898
p = node.getparent()
99-
# p.remove(node)
10099
p.append(doc)
101100
else:
102101
print(node.attrib.get(

1.0.x/writetex.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def effect(self):
7979
WriteTex.handle_path(self.options.additionalpath)
8080
action = self.options.action.strip("\"")
8181
if action == "settings":
82-
print('Settings are auto applied, please to switch to other tab for other functions.',
82+
print('Settings are auto applied, please switch to other tab for other functions.',
8383
file=sys.stderr)
8484
return
8585
self.options.scale = float(self.options.scale)
@@ -97,7 +97,6 @@ def effect(self):
9797
node.attrib.get(
9898
'{%s}text' % WriteTexNS, '')))
9999
p = node.getparent()
100-
# p.remove(node)
101100
p.append(doc)
102101
else:
103102
print(node.attrib.get(

0 commit comments

Comments
 (0)