file_manager: normalize the path for the metadata script
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
ac1d798a36
commit
5081810a96
|
@ -15,8 +15,8 @@ from tornado.locks import Event
|
||||||
|
|
||||||
VALID_GCODE_EXTS = ['.gcode', '.g', '.gco']
|
VALID_GCODE_EXTS = ['.gcode', '.g', '.gco']
|
||||||
FULL_ACCESS_ROOTS = ["gcodes", "config"]
|
FULL_ACCESS_ROOTS = ["gcodes", "config"]
|
||||||
METADATA_SCRIPT = os.path.join(
|
METADATA_SCRIPT = os.path.normpath(os.path.join(
|
||||||
os.path.dirname(__file__), "../../scripts/extract_metadata.py")
|
os.path.dirname(__file__), "../../scripts/extract_metadata.py"))
|
||||||
|
|
||||||
class FileManager:
|
class FileManager:
|
||||||
def __init__(self, config):
|
def __init__(self, config):
|
||||||
|
|
Loading…
Reference in New Issue