mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-17 11:38:32 +02:00
Specify the exception thrown
This commit is contained in:
parent
272d586e06
commit
ffa32297e8
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ class Entry:
|
||||||
if columns == "auto":
|
if columns == "auto":
|
||||||
try:
|
try:
|
||||||
columns = os.get_terminal_size()[0]
|
columns = os.get_terminal_size()[0]
|
||||||
except: # noqa: E722
|
except OSError:
|
||||||
logging.debug(
|
logging.debug(
|
||||||
"Can't determine terminal size automatically 'linewrap': '%s'",
|
"Can't determine terminal size automatically 'linewrap': '%s'",
|
||||||
self.journal.config["linewrap"],
|
self.journal.config["linewrap"],
|
||||||
|
|
Loading…
Add table
Reference in a new issue