aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/utils/helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/utils/helpers.py b/bot/utils/helpers.py
index 7b5474a2f..4a85f46f5 100644
--- a/bot/utils/helpers.py
+++ b/bot/utils/helpers.py
@@ -25,7 +25,7 @@ def has_lines(string: str, count: int) -> bool:
split = string.split("\n", count - 1)
# Make sure the last part isn't empty, which would happen if there was a final newline.
- return split[-1] and len(split) == count
+ return split[-1] != "" and len(split) == count
def pad_base64(data: str) -> str: