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']
|
||||
FULL_ACCESS_ROOTS = ["gcodes", "config"]
|
||||
METADATA_SCRIPT = os.path.join(
|
||||
os.path.dirname(__file__), "../../scripts/extract_metadata.py")
|
||||
METADATA_SCRIPT = os.path.normpath(os.path.join(
|
||||
os.path.dirname(__file__), "../../scripts/extract_metadata.py"))
|
||||
|
||||
class FileManager:
|
||||
def __init__(self, config):
|
||||
|
|
Loading…
Reference in New Issue