Add missing exception variable.

This commit is contained in:
Roberto Rosario
2015-08-23 23:10:25 -04:00
parent 8d47e60b11
commit 59696ba68d

View File

@@ -200,7 +200,7 @@ class ConverterBase(object):
def get_page_count(self):
try:
self.soffice_file = self.to_pdf()
except InvalidOfficeFormat:
except InvalidOfficeFormat as exception:
logger.debug('Is not an office format document; %s', exception)