From 7af83b06565fe95d02c41f70a437ee4e36fcbd43 Mon Sep 17 00:00:00 2001 From: Phie Date: Sat, 20 Jun 2020 21:47:51 +0200 Subject: wait extraction before save --- lib/Controller/NoteController.php | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/Controller/NoteController.php b/lib/Controller/NoteController.php index 5037061..7f9f3aa 100755 --- a/lib/Controller/NoteController.php +++ b/lib/Controller/NoteController.php @@ -947,6 +947,7 @@ public function getOpusEncoder(){ } private function saveOpenNote($path,$id){ + $this->waitEndOfExtraction($id); $cache = $this->getCacheFolder(); $folder = $cache->get("currentnote".$id); $zipFile = new MyZipFile(); -- cgit v1.2.3