From b782bf681aadc4f61d93d612e8fe962f9eec2cee Mon Sep 17 00:00:00 2001 From: "Dusty.P" Date: Tue, 5 Jun 2018 22:59:09 -0800 Subject: [PATCH] Fig bug where last line is not added. --- exts/imports/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exts/imports/utils.py b/exts/imports/utils.py index 2506911..1ec8663 100644 --- a/exts/imports/utils.py +++ b/exts/imports/utils.py @@ -162,7 +162,6 @@ class Paginator: i = 0 if not keep_intact and not item == self._page_break: item_parts = item.strip().split('\n') - print(item_parts) for part in item_parts: if len(part) > self._max_line_length: length = 0 @@ -189,6 +188,7 @@ class Paginator: close_line('') else: close_line(bit) + close_line('') else: self._parts.insert(i, part) if to_beginning else self._parts.append(part) i += 1