diff options
author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2022-03-11 18:47:48 +0100 |
---|---|---|
committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2022-03-11 18:47:48 +0100 |
commit | f4c22652444d481e03ce27adc0317f324177609e (patch) | |
tree | d9e65dba56e83e8a44f2417d9c46b711be6d3d85 /scripts | |
parent | 501f3a85959e25cb8b3cdb089ba111ec3b83e9e4 (diff) |
Sort imports with isort
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/lesana | 1 | ||||
-rwxr-xr-x | scripts/openlibrary2lesana | 3 | ||||
-rwxr-xr-x | scripts/tellico2lesana | 3 |
3 files changed, 3 insertions, 4 deletions
diff --git a/scripts/lesana b/scripts/lesana index 96a973f..ed6084a 100755 --- a/scripts/lesana +++ b/scripts/lesana @@ -3,6 +3,7 @@ Lesana Command Line interface """ import logging + import lesana.command diff --git a/scripts/openlibrary2lesana b/scripts/openlibrary2lesana index 247a8e0..8394a3d 100755 --- a/scripts/openlibrary2lesana +++ b/scripts/openlibrary2lesana @@ -5,13 +5,12 @@ import logging import os import sys -import requests import dateutil.parser +import requests import lesana import lesana.command - OPENAPI_BASE = "https://openlibrary.org" OPENAPI_ISBN_URL = OPENAPI_BASE + '/isbn/{isbn}.json' diff --git a/scripts/tellico2lesana b/scripts/tellico2lesana index 3f56213..f432946 100755 --- a/scripts/tellico2lesana +++ b/scripts/tellico2lesana @@ -2,12 +2,11 @@ import argparse import datetime -from xml.etree import ElementTree import zipfile +from xml.etree import ElementTree import lesana - NS = {'tellico': 'http://periapsis.org/tellico/'} # https://docs.kde.org/trunk5/en/extragear-office/tellico/field-type-values.html |