8000 fix missing initialization in outputmanager · testnest/pyscript@955fb6f · GitHub
[go: up one dir, main page]

Skip to content

Commit 955fb6f

Browse files
committed
fix missing initialization in outputmanager
1 parent 95d5026 commit 955fb6f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyscriptjs/src/interpreter.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ class Element:
9898
class OutputManager:
9999
def __init__(self, custom=None, output_to_console=True):
100100
self._custom = custom
101+
self._prev = custom
101102
self.output_to_console = output_to_console
102103
self.prev = None
103104

0 commit comments

Comments
 (0)
0