X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/28878296bacad453735a520f350ba5a971f8ffc8..82e604c583fb1efdb6d988ea7e8673f8f7c8f119:/scripts/book2txt?ds=inline diff --git a/scripts/book2txt b/scripts/book2txt index f77e512..d56d6ff 100755 --- a/scripts/book2txt +++ b/scripts/book2txt @@ -45,7 +45,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' % { @@ -57,6 +57,6 @@ if __name__ == '__main__': print '%(file)s:%(etype)s:%(message)s' % { 'file': input_filename, 'etype': e.__class__.__name__, - 'message': e.message, + 'message': e, } raise