From 8771ec89633aff2040c8e9c9b25c98778f19bedb Mon Sep 17 00:00:00 2001 From: undisclosed Date: Fri, 30 Dec 2022 10:20:07 +0000 Subject: [PATCH] Readme angepasst --- src/de/uhilger/calypso/handler/PlayHandler.java | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/de/uhilger/calypso/handler/PlayHandler.java b/src/de/uhilger/calypso/handler/PlayHandler.java index f11a935..0c2b527 100644 --- a/src/de/uhilger/calypso/handler/PlayHandler.java +++ b/src/de/uhilger/calypso/handler/PlayHandler.java @@ -77,7 +77,9 @@ //FileUtils.deleteDirectory(new File(System.getProperty("omx.wd"), "omx-logs")); FileSystem fs = FileSystems.getDefault(); Path path = fs.getPath(System.getProperty("omx.wd"), "omx-logs"); - deleteDirectory(path); + if(path.toFile().exists()) { + deleteDirectory(path); + } //Files.delete(path); } catch (IOException ex) { logger.log(Level.SEVERE, null, ex); -- Gitblit v1.9.3