We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 724266d commit a66a4d6Copy full SHA for a66a4d6
pkg/wvpy/jtools.py
@@ -347,11 +347,12 @@ def render_as_html(
347
pickle.dump(sheet_vars, file=ntf)
348
if (init_code is None) or (len(init_code) <= 0):
349
init_code = ""
350
- init_code = f"""
+ pickle_code = f"""
351
import pickle
352
with open({tmp_path.__repr__()}, 'rb') as pf:
353
sheet_vars = pickle.load(pf)
354
-""" + "\n\n" + init_code
+"""
355
+ init_code = init_code + "\n\n" + pickle_code
356
if (init_code is not None) and (len(init_code) > 0):
357
assert isinstance(init_code, str)
358
nb = prepend_code_cell_to_notebook(
0 commit comments