Fix document print view

This commit is contained in:
Roberto Rosario
2011-12-04 02:37:11 -04:00
parent 64e73a9c9d
commit fafadfaca2
5 changed files with 21 additions and 20 deletions

View File

@@ -110,7 +110,7 @@ def get_page_count(input_filepath):
return backend.get_page_count(input_filepath)
'''
def get_document_dimensions(document, *args, **kwargs):
document_filepath = create_image_cache_filename(document.checksum, *args, **kwargs)
if os.path.exists(document_filepath):
@@ -118,7 +118,7 @@ def get_document_dimensions(document, *args, **kwargs):
return [int(dimension) for dimension in backend.identify_file(unicode(document_filepath), options).split()]
else:
return [0, 0]
'''
def get_available_transformations_choices():
result = []