Joystick data each frame builder bracket missing when generating script

[doesn’t seem to be OS/device dependent, guess just a minor bug]

Builder → joystick → Data → store each frame

This warning appears:
[logging.data(“joystick_{}_button: {}, pos=({:1.4f},{:1.4f})”.format(joystick.device_number, i, joystick.getX(), joystick.getY()) for i in joystick.pressedButtons]
^
SyntaxError: closing parenthesis ‘]’ does not match opening parenthesis ‘(’

And indeed, if I just add the bracket in that line in the script after it is generated, it seems to run fine and some coordinates are stored.

All the best and thanks for providing this tool!