Fixed a win-only issue causing the gcode view not to reload on file modification
This commit is contained in:
parent
5f982ec6c8
commit
947f4c89cc
1 changed files with 1 additions and 1 deletions
|
|
@ -680,7 +680,7 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback):
|
|||
# Use a string for mtime because it could be float and the
|
||||
# javascript needs to exact match
|
||||
if not sd:
|
||||
date = int(os.stat(path_on_disk).st_ctime)
|
||||
date = int(os.stat(path_on_disk).st_mtime)
|
||||
|
||||
try:
|
||||
fileData = self._fileManager.get_metadata(FileDestinations.SDCARD if sd else FileDestinations.LOCAL, path_on_disk)
|
||||
|
|
|
|||
Loading…
Reference in a new issue