• Kevin Glasson @kevin.glasson ·

    Thank you very much for putting this together! It worked fantastically.

    I only had to make one small modification, I don't know what was happening in this section but my argValue's were coming through as str which doesn't have removeprefix or removesuffix. I'm guessing that is a python3.9 thing...

    def get_argument_string(argValue):
      return argValue.removeprefix("'").removesuffix("'")

    Anyway I changed it to:

    import re
    
    def get_argument_string(argValue):
      return re.sub("'", "", argValue)

    This should work for many more versions of python if someone else comes across this!

  • Ethan @probablyethan ·

    Looks like the previous comment by @kevin.glasson was only partially implemented in the updated script. Need to append ", re" to the "import" statement.

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment