Minor update for #1022

This commit is contained in:
Miroslav Stampar 2014-12-13 13:41:39 +01:00
parent fe58aff26c
commit 84ba5f35ac

View File

@ -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: