aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/DatabaseController.kt
diff options
context:
space:
mode:
authorMarvin Borner2019-05-15 20:37:40 +0200
committerMarvin Borner2019-05-15 20:37:40 +0200
commitdec3ba58281b9d929b23b8d6da3af373f31e8fd1 (patch)
tree0bb4a941cfbc15838257fb9cc17c32fcc1bd3204 /src/main/kotlin/DatabaseController.kt
parente1ea0eca755dc0176a03d131168e256f562527f2 (diff)
Added multi layer directory upload support
Co-authored-by: LarsVomMars <lars@kroenner.eu>
Diffstat (limited to 'src/main/kotlin/DatabaseController.kt')
-rw-r--r--src/main/kotlin/DatabaseController.kt3
1 files changed, 1 insertions, 2 deletions
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)
}
}
}