Skip to content

Commit 8c32d1c

Browse files
committed
BF: outputs to psychojs no longer need image.units line
and this caused a bug if units were "from exp settings"
1 parent 40db7b9 commit 8c32d1c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

psychopy/app/builder/components/image/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,5 +163,3 @@ def writeInitCodeJS(self, buff):
163163
"});\n" % (depth)
164164
)
165165
buff.writeIndentedLines(code)
166-
buff.writeIndentedLines(
167-
"{inits[name]}.units = {inits[units]};".format(inits=inits))

0 commit comments

Comments
 (0)