Skip to content

Commit d0483be

Browse files
committed
fix shutdown exception
- fixes #1198
1 parent bad8f66 commit d0483be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tqdm/utils.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def _screen_shape_linux(fp): # pragma: no cover
277277
from fcntl import ioctl
278278
from termios import TIOCGWINSZ
279279
except ImportError:
280-
return None
280+
return None, None
281281
else:
282282
try:
283283
rows, cols = array('h', ioctl(fp, TIOCGWINSZ, '\0' * 8))[:2]

0 commit comments

Comments
 (0)