The office converter doesn't need to have unicode or str methods. Issue #152

This commit is contained in:
Roberto Rosario
2015-01-28 17:32:44 -04:00
parent 766e7be49f
commit ca3158cf82

View File

@@ -98,12 +98,6 @@ class OfficeConverter(object):
# convert exception so that at least the mime type icon is displayed
raise UnknownFileFormat(exception)
def __unicode__(self):
return getattr(self, 'output_filepath', None)
def __str__(self):
return str(self.__unicode__())
class OfficeConverterBackendDirect(object):
def __init__(self):