mirror of
https://github.com/vale981/jobmanager
synced 2025-03-05 18:01:38 -05:00
move id out of try statement
This commit is contained in:
parent
c7e8451b4d
commit
eea0e79474
1 changed files with 1 additions and 1 deletions
|
@ -1108,8 +1108,8 @@ def get_terminal_size(defaultw=80):
|
|||
|
||||
|
||||
def get_terminal_width(default=80, name=None, verbose=0):
|
||||
id = get_identifier(name=name)
|
||||
try:
|
||||
id = get_identifier(name=name)
|
||||
width = get_terminal_size(defaultw=default)[0]
|
||||
except:
|
||||
width = default
|
||||
|
|
Loading…
Add table
Reference in a new issue