X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/4e290186955957b103282f78036b344e7e38d279..65c55a07a1ed0605f8059809281ca69320363964:/apps/catalogue/views.py?ds=sidebyside diff --git a/apps/catalogue/views.py b/apps/catalogue/views.py index 102b38ee5..dd9830c04 100644 --- a/apps/catalogue/views.py +++ b/apps/catalogue/views.py @@ -614,7 +614,6 @@ def import_book(request): info = sys.exc_info() exception = pprint.pformat(info[1]) tb = '\n'.join(traceback.format_tb(info[2])) - _('Today is %(month)s, %(day)s.') % {'month': m, 'day': d} return HttpResponse(_("An error occurred: %(exception)s\n\n%(tb)s") % {'exception':exception, 'tb':tb}, mimetype='text/plain') return HttpResponse(_("Book imported successfully")) else: