Skip to content

Commit e743c79

Browse files
Remove tmpdir
1 parent 07ac014 commit e743c79

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/blueapi/startup/example_devices.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
from pathlib import Path
2-
from tempfile import TemporaryDirectory
32

43
from dodal.common.beamlines.beamline_utils import set_path_provider
54
from dodal.common.visit import LocalDirectoryServiceClient, StaticVisitPathProvider
@@ -9,7 +8,9 @@
98

109
# Some of our plans such as "count" and "spec_scan" require this global
1110
# singleton to be set
12-
_tmp_dir = Path(TemporaryDirectory().name)
11+
12+
# Workaround for https://github.com/DiamondLightSource/blueapi/issues/784
13+
_tmp_dir = Path("/does/not/exist")
1314
set_path_provider(
1415
StaticVisitPathProvider(
1516
"t01",

0 commit comments

Comments
 (0)