Skip to content

Commit

Permalink
Init
Browse files Browse the repository at this point in the history
  • Loading branch information
iplai committed Feb 17, 2024
1 parent 4f1224c commit 2726eb4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions marimo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
"author": "iplai",
"description": "Reactive notebook for Python integrated in blender",
"blender": (2, 80, 0),
"version": (0, 0, 4),
"version": (0, 1, 0),
"location": "View 3D > Header Menu > Notebook",
"doc_url": "https://github.com/iplai/marimo-blender",
"tracker_url": "https://github.com/iplai/marimo-blender/issues",
Expand Down Expand Up @@ -142,4 +142,4 @@ def unregister():
bpy.utils.unregister_class(cls)
bpy.types.VIEW3D_HT_header.remove(marimo_header_btn)
from .addon_setup import server
server.stop()
# server.stop()
5 changes: 4 additions & 1 deletion marimo/addon_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,10 @@ def server_thread_function(port: int):
include_code=True,
watch=False,
)
self.exec_function(server_thread_function, port, line_callback=line_callback, finally_callback=finally_callback)
# self.exec_function(server_thread_function, port, line_callback=line_callback, finally_callback=finally_callback)
thread = threading.Thread(target=server_thread_function, args=(port,))
thread.daemon = True
thread.start()

def stop(self):
raise NotImplementedError()
Expand Down

0 comments on commit 2726eb4

Please sign in to comment.