# -*- 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
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,
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
}