From 0c7323ae032fe7e1601601f0837ba54539c1a4fa Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Wed, 24 Apr 2024 15:29:28 +0200 Subject: Fix script installation via pyproject.toml. --- scripts/lesana | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'scripts') diff --git a/scripts/lesana b/scripts/lesana index 177ca9b..45c6703 100755 --- a/scripts/lesana +++ b/scripts/lesana @@ -8,17 +8,5 @@ import hazwaz import lesana.command - -def main(): - # setup logging for lesana cli - logger = logging.getLogger('lesana') - ch = logging.StreamHandler() - formatter = logging.Formatter('%(levelname)s:%(name)s: %(message)s') - ch.setFormatter(formatter) - logger.addHandler(ch) - logger.setLevel(logging.INFO) - - lesana.command.Lesana().run() - if __name__ == "__main__": - main() + lesana.command.Lesana().run() -- cgit v1.2.3