Changed preferred paths to use PROGRAMDATA, /var, and /etc

This commit is contained in:
Joel Collins 2020-01-16 16:31:19 +00:00
parent 2227d38be2
commit feddcc546b
5 changed files with 112 additions and 42 deletions

View file

@ -12,8 +12,9 @@ from .capture import CaptureObject
from openflexure_microscope.utilities import entry_by_uuid
from openflexure_microscope.common.labthings_core.lock import StrictLock
from openflexure_microscope.paths import data_file_path
BASE_CAPTURE_PATH = os.path.join(os.path.expanduser("~"), "micrographs")
BASE_CAPTURE_PATH = data_file_path("micrographs")
TEMP_CAPTURE_PATH = os.path.join(BASE_CAPTURE_PATH, "tmp")