From 59e111e593ebdea4151d5d27a933d5c5c902358f Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Fri, 19 Mar 2021 14:36:32 +0100 Subject: [PATCH] Bugfixes --- src/cpl/console/console.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/cpl/console/console.py b/src/cpl/console/console.py index b7945a92..b1536b60 100644 --- a/src/cpl/console/console.py +++ b/src/cpl/console/console.py @@ -113,7 +113,7 @@ class Console: """ @classmethod - def _output(cls, string: str, x: int = None, y: int = None, end='\n'): + def _output(cls, string: str, x: int = None, y: int = None, end: str = None): """ Prints given output with given format :param string: @@ -125,6 +125,9 @@ class Console: if cls._is_first_write: cls._is_first_write = False + if end is None: + end = '\n' + args = [] colored_args = [] if x is not None and y is not None: