diff options
author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2024-04-24 15:29:28 +0200 |
---|---|---|
committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2024-04-24 15:32:42 +0200 |
commit | 0c7323ae032fe7e1601601f0837ba54539c1a4fa (patch) | |
tree | 88e9d0c581c204094244e09760c37967691eab4c /scripts | |
parent | 1dd720e861787bb4356cf8ae6ed3cab484f9cc9c (diff) |
Fix script installation via pyproject.toml.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/lesana | 14 |
1 files changed, 1 insertions, 13 deletions
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() |