Skip to content

Commit dac0ef0

Browse files
committed
Fixed an instance of " in generated code
1 parent 505297e commit dac0ef0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/blocks/mrc_steps.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ export const pythonFromBlock = function (
220220
generator: ExtendedPythonGenerator,
221221
) {
222222
let code = 'def steps(self):\n';
223-
code += generator.INDENT + 'if not hasattr(self, "_initialized_steps"):\n';
223+
code += generator.INDENT + 'if not hasattr(self, \'_initialized_steps\'):\n';
224224
code += generator.INDENT.repeat(2) + 'self._current_step = \'' + block.mrcStepNames[0] + '\'\n';
225225
code += generator.INDENT.repeat(2) + 'self._initialized_steps = True\n\n';
226226
code += generator.INDENT + 'if self._current_step == None:\n';

0 commit comments

Comments
 (0)