X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/387bff61a13e750e1ef4e015025415a8b311b25b..f776aa6753a2bd367287c668006e91b5add02b32:/scripts/book2html?ds=sidebyside diff --git a/scripts/book2html b/scripts/book2html index f42c0ff..d61b299 100755 --- a/scripts/book2html +++ b/scripts/book2html @@ -40,7 +40,7 @@ if __name__ == '__main__': print '%(file)s:%(name)s:%(message)s' % { 'file': input_filename, 'name': e.__class__.__name__, - 'message': e.message + 'message': e, } except IOError, e: print '%(file)s:%(name)s:%(message)s' % { @@ -52,7 +52,7 @@ if __name__ == '__main__': print '%(file)s:%(etype)s:%(message)s' % { 'file': input_filename, 'etype': e.__class__.__name__, - 'message': e.message, + 'message': e, } raise