From 1fa14bf4f54858820703f272b2e661d49484d5a3 Mon Sep 17 00:00:00 2001 From: Ren Tatsumoto Date: Tue, 20 Apr 2021 14:14:09 +0300 Subject: [PATCH] brush up --- template_picker => antp.sh | 0 antp/__main__.py | 3 ++- antp/common.py | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) rename template_picker => antp.sh (100%) diff --git a/template_picker b/antp.sh similarity index 100% rename from template_picker rename to antp.sh diff --git a/antp/__main__.py b/antp/__main__.py index 2b6717e..c738b67 100644 --- a/antp/__main__.py +++ b/antp/__main__.py @@ -1,5 +1,6 @@ -from urllib.error import URLError import sys +from urllib.error import URLError + from antp.exporter import export_note_type from antp.importer import import_note_type diff --git a/antp/common.py b/antp/common.py index 56f8410..af85678 100644 --- a/antp/common.py +++ b/antp/common.py @@ -23,4 +23,3 @@ def select(items: list[str]) -> Optional[str]: print(f"{idx}: {model}") idx = read_num("\nSelect model number: ", max_val=len(items) - 1) return items[int(idx)] -