Skip to content

Commit 3a1bbdb

Browse files
committed
Merge branch 'master' into andrew/issue-383-fix-hang
2 parents b0ba305 + 0668e4d commit 3a1bbdb

55 files changed

Lines changed: 7 additions & 10620 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@ src/py/integration_tests/report*
2323
# avoid ignore .gitkeep
2424
!src/py/integration_tests/renders/.gitkeep
2525
node_modules/
26+
27+
src/py/site/*

src/py/CHANGELOG.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
- Fix bug where attribute was inconsistently named
12
v1.1.0rc0
23
- Improve verbosity of errors when starting kaleido improperly
34
- Add new api functions start/stop_sync_server

src/py/kaleido/kaleido.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ class Kaleido(choreo.Browser):
5656

5757
async def close(self):
5858
"""Close the browser."""
59-
if self.tmp_dir:
60-
self.tmp_dir.clean()
59+
if self._tmp_dir:
60+
self._tmp_dir.clean()
6161
_logger.info("Cancelling tasks.")
6262
for task in self._main_tasks:
6363
if not task.done():
@@ -138,8 +138,8 @@ def __init__(self, *args, **kwargs): # noqa: D417 no args/kwargs in description
138138
elif page and hasattr(page, "is_file") and page.is_file():
139139
self._index = page.as_uri()
140140
else:
141-
self.tmp_dir = TmpDirectory(sneak=self.is_isolated())
142-
index = self.tmp_dir.path / "index.html"
141+
self._tmp_dir = TmpDirectory(sneak=self.is_isolated())
142+
index = self._tmp_dir.path / "index.html"
143143
self._index = index.as_uri()
144144
if not page:
145145
page = PageGenerator(plotly=self._plotlyjs, mathjax=self._mathjax)

src/py/site/404.html

Lines changed: 0 additions & 323 deletions
This file was deleted.

0 commit comments

Comments
 (0)