Allow empty response when selecting ticket
This commit is contained in:
parent
0bda5c7a1c
commit
ea4942bbc4
1 changed files with 3 additions and 1 deletions
|
|
@ -283,7 +283,9 @@ class osTicket():
|
|||
# Main loop
|
||||
while self.ticket_id is None:
|
||||
cli.print_standard(' ')
|
||||
_id = cli.input_text('Enter ticket number (or leave blank to disable): ')
|
||||
_id = cli.input_text(
|
||||
'Enter ticket number (or leave blank to disable): ', allow_empty=True,
|
||||
)
|
||||
_id = _id.strip()
|
||||
|
||||
# Nothing entered
|
||||
|
|
|
|||
Loading…
Reference in a new issue