This commit is contained in:
Ren Tatsumoto 2021-04-20 14:14:09 +03:00
parent 26d7538b6d
commit 1fa14bf4f5
3 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,6 @@
from urllib.error import URLError
import sys import sys
from urllib.error import URLError
from antp.exporter import export_note_type from antp.exporter import export_note_type
from antp.importer import import_note_type from antp.importer import import_note_type

View file

@ -23,4 +23,3 @@ def select(items: list[str]) -> Optional[str]:
print(f"{idx}: {model}") print(f"{idx}: {model}")
idx = read_num("\nSelect model number: ", max_val=len(items) - 1) idx = read_num("\nSelect model number: ", max_val=len(items) - 1)
return items[int(idx)] return items[int(idx)]