Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3730045

Browse files
committed
Translator was updated on streambed, we don't need these lines anymore.
1 parent 9b725c4 commit 3730045

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

run.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -683,10 +683,6 @@ def insert_init(code, init, language):
683683
if line[:6] == sign_in['execution'][language][:6]:
684684
sign_in_lino = lino
685685
break
686-
# FIXME: HACK! needs updating in streambed...
687-
elif language == 'r' and line[:6] == 'p <- plotly('[:6]:
688-
sign_in_lino = lino
689-
break
690686
new_lines = lines[:sign_in_lino+1] + [init] + lines[sign_in_lino+1:]
691687
return '\n'.join(new_lines)
692688

0 commit comments

Comments
 (0)