Skip to content

Commit b5bf61f

Browse files
committed
Fix serialization error.
Fixes #16.
1 parent 37469db commit b5bf61f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/python-debugger.coffee

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{CompositeDisposable} = require "atom"
2+
path = require "path"
23
Breakpoint = require "./breakpoint"
34
BreakpointStore = require "./breakpoint-store"
45

@@ -41,7 +42,7 @@ module.exports = PythonDebugger =
4142
@pythonDebuggerView.destroy()
4243

4344
serialize: ->
44-
pythonDebuggerViewState: @pythonDebuggerView.serialize()
45+
pythonDebuggerViewState: @pythonDebuggerView?.serialize()
4546

4647
activePath = editor?.getPath()
4748
relative = atom.project.relativizePath(activePath)

0 commit comments

Comments
 (0)