file_manager: quote file name passed to metadata process
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
1d1edf33c3
commit
879ddea0e5
|
@ -240,7 +240,7 @@ class FileManager:
|
|||
self.gcode_metadata = exisiting_data
|
||||
for fname in update_list:
|
||||
cmd = " ".join([sys.executable, METADATA_SCRIPT, "-p",
|
||||
gc_path, "-f", fname])
|
||||
gc_path, "-f", "'" + fname + "'"])
|
||||
shell_command = self.server.lookup_plugin('shell_command')
|
||||
scmd = shell_command.build_shell_command(
|
||||
cmd, self._shell_proc_callback)
|
||||
|
|
Loading…
Reference in New Issue