Skip to content

Commit

Permalink
updating python files
Browse files Browse the repository at this point in the history
  • Loading branch information
rsevero authored and speleo3 committed Jan 17, 2024
1 parent 8a611a3 commit 50bd5c7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions extensions/th2setprops.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ def asunicode(s):
class Th2SetProps(Th2Effect):
def __init__(self):
inkex.Effect.__init__(self)
self.OptionParser.add_option("--role", type="string", dest="role", default="")
self.OptionParser.add_option("--type", type="string", dest="type", default="")
self.OptionParser.add_option("--options", type="string", dest="options", default="")
self.OptionParser.add_option("--merge", type="inkbool", dest="merge", default=True)
self.OptionParser.add_option("--dropstyle", type="inkbool", dest="dropstyle", default=False)
self.arg_parser.add_argument("--role", type=str, dest="role", default="")
self.arg_parser.add_argument("--type", type=str, dest="type", default="")
self.arg_parser.add_argument("--options", type=str, dest="options", default="")
self.arg_parser.add_argument("--merge", type=inkex.Boolean, dest="merge", default=True)
self.arg_parser.add_argument("--dropstyle", type=inkex.Boolean, dest="dropstyle", default=False)

def update_options(self, options):
'''Subclasses can update options here'''
Expand Down

0 comments on commit 50bd5c7

Please sign in to comment.