X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/e0174e46955329347268e756e2662e77441cf09b..84ec0eba63d0933b3f22a7884c46be6b796ee165:/scripts/book2pdf?ds=inline diff --git a/scripts/book2pdf b/scripts/book2pdf index fd69970..d10f400 100755 --- a/scripts/book2pdf +++ b/scripts/book2pdf @@ -2,7 +2,7 @@ # -*- coding: utf-8 -*- # # This file is part of Librarian, licensed under GNU Affero GPLv3 or later. -# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. +# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # import os.path from optparse import OptionParser @@ -49,9 +49,9 @@ if __name__ == '__main__': else: output_dir = path - pdf.transform(provider, - file_path=main_input, - output_file=output_file, + pdf.transform(provider, + file_path=main_input, + output_file=output_file, output_dir=output_dir, verbose=options.verbose, make_dir=options.make_dir, @@ -62,5 +62,5 @@ if __name__ == '__main__': print '%(file)s:%(name)s:%(message)s; use -v to see more output' % { 'file': main_input, 'name': e.__class__.__name__, - 'message': e.message + 'message': e }