From 84ba5f35ac6b336144bc478aa24c8366d97c2536 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sat, 13 Dec 2014 13:41:39 +0100 Subject: [PATCH] Minor update for #1022 --- lib/core/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/common.py b/lib/core/common.py index b9aeb7a0e..37555c2e0 100755 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -1741,7 +1741,7 @@ def getConsoleWidth(default=80): if len(items) == 2 and items[1].isdigit(): width = int(items[1]) - except OSError: + except (OSError, MemoryError): pass if width is None: