X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/fefdce4e24f9e397df5538fe6e7f54b5ece4d841..refs/heads/secondary:/src/librarian/packagers.py?ds=sidebyside diff --git a/src/librarian/packagers.py b/src/librarian/packagers.py index b3f5548..0f7a42e 100644 --- a/src/librarian/packagers.py +++ b/src/librarian/packagers.py @@ -21,7 +21,8 @@ class Packager(object): return cls.converter.transform(*args, **kwargs) @classmethod - def prepare_file(cls, main_input, output_dir, verbose=False, overwrite=False): + def prepare_file(cls, main_input, output_dir, verbose=False, + overwrite=False): path, fname = os.path.realpath(main_input).rsplit('/', 1) provider = DirDocProvider(path) slug, ext = os.path.splitext(fname) @@ -37,7 +38,8 @@ class Packager(object): doc.save_output_file(output_file, output_path=outfile) @classmethod - def prepare(cls, input_filenames, output_dir='', verbose=False, overwrite=False): + def prepare(cls, input_filenames, output_dir='', verbose=False, + overwrite=False): try: for main_input in input_filenames: if verbose: