aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/DatabaseController.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/DatabaseController.kt')
-rw-r--r--src/main/kotlin/DatabaseController.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/DatabaseController.kt b/src/main/kotlin/DatabaseController.kt
index 255b6e4..481d23b 100644
--- a/src/main/kotlin/DatabaseController.kt
+++ b/src/main/kotlin/DatabaseController.kt
@@ -322,7 +322,7 @@ class DatabaseController {
}
true
} else {
- if (!isDirectoryBool) log.warning("File already exists!")
+ if (!isDirectoryBool && debug) log.warning("File already exists!")
false
}
} catch (err: Exception) {