From f4c22652444d481e03ce27adc0317f324177609e Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Fri, 11 Mar 2022 18:47:48 +0100 Subject: Sort imports with isort --- scripts/lesana | 1 + scripts/openlibrary2lesana | 3 +-- scripts/tellico2lesana | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) (limited to 'scripts') 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 -- cgit v1.2.3