Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 84ba5f3

Browse files
committed
Minor update for #1022
1 parent fe58aff commit 84ba5f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1741,7 +1741,7 @@ def getConsoleWidth(default=80):
17411741

17421742
if len(items) == 2 and items[1].isdigit():
17431743
width = int(items[1])
1744-
except OSError:
1744+
except (OSError, MemoryError):
17451745
pass
17461746

17471747
if width is None:

0 commit comments

Comments
 (0)