small fixes

This commit is contained in:
Mario Voigt 2021-04-09 12:03:02 +02:00
parent a3e58cabb5
commit a9adc3d322
2 changed files with 3 additions and 2 deletions

View File

@ -58,7 +58,8 @@ class SvgoInkscape (inkex.Effect):
return " --"+ name + " " + str(option).lower() return " --"+ name + " " + str(option).lower()
def effect(self): def effect(self):
command = "node.exe svgo.js --file=" + self.options.input_file # "node.exe" or "node" on Windows or just "node" on Linux
command = "node svgo.js --file=" + self.options.input_file
optionsDict = self.options.__dict__ optionsDict = self.options.__dict__