forked from 0x2620/pandora
more thumbnail cleanups
This commit is contained in:
parent
9881884469
commit
d12121d229
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ class Document(models.Model):
|
|||
|
||||
def get_info(self):
|
||||
if self.extension == 'pdf':
|
||||
self.thumbnail()
|
||||
self.thumbnail(1024)
|
||||
if self.pages == -1:
|
||||
self.width = -1
|
||||
self.height = -1
|
||||
|
|
Loading…
Reference in a new issue