From dec3ba58281b9d929b23b8d6da3af373f31e8fd1 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 15 May 2019 20:37:40 +0200 Subject: Added multi layer directory upload support Co-authored-by: LarsVomMars --- src/main/kotlin/DatabaseController.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/main/kotlin/DatabaseController.kt') diff --git a/src/main/kotlin/DatabaseController.kt b/src/main/kotlin/DatabaseController.kt index bdbdc18..255b6e4 100644 --- a/src/main/kotlin/DatabaseController.kt +++ b/src/main/kotlin/DatabaseController.kt @@ -326,8 +326,7 @@ class DatabaseController { false } } catch (err: Exception) { - if (!isDirectoryBool) error(err) - true // Ugly solution + error(err) } } } -- cgit v1.2.3