Fix int_level handling in :zoom
This commit is contained in:
parent
91a592a256
commit
8a107fa5b3
@ -82,10 +82,9 @@ def zoom(tab: apitypes.Tab,
|
|||||||
except ValueError:
|
except ValueError:
|
||||||
raise cmdutils.CommandError("zoom: Invalid int value {}"
|
raise cmdutils.CommandError("zoom: Invalid int value {}"
|
||||||
.format(level))
|
.format(level))
|
||||||
|
elif count is not None:
|
||||||
if count is not None:
|
|
||||||
int_level = count
|
int_level = count
|
||||||
elif int_level is None:
|
else:
|
||||||
int_level = config.val.zoom.default
|
int_level = config.val.zoom.default
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user