mirror of
https://github.com/lowobservable/oec.git
synced 2026-01-11 23:53:04 +00:00
Disable VT100Session used before assignment lint error
This commit is contained in:
parent
f863ec1261
commit
a0020de250
@ -79,6 +79,7 @@ def _create_session(args, device):
|
||||
if args.emulator == 'vt100' and IS_VT100_AVAILABLE:
|
||||
host_command = [args.command, *args.command_args]
|
||||
|
||||
# pylint: disable-next=possibly-used-before-assignment
|
||||
return VT100Session(device, host_command)
|
||||
|
||||
raise ValueError('Unsupported emulator')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user