Fix remove export files if export has failed910/head
commite87e698fcaea8fba51e0dc2bd4bc822c4fc89a24
authorMilad <reza.maanijou@gmail.com>
Wed, 29 May 2019 09:17:19 +0000 (29 13:47 +0430)
committerMilad <reza.maanijou@gmail.com>
Wed, 29 May 2019 09:17:19 +0000 (29 13:47 +0430)
treee128496d56b58a222599e9ab121810eb6e6db776
parent50558c020616e2f9af741cf5f76aa87e0a7a5746
Fix remove export files if export has failed

If export task is failed there is no file and therefore instance.filename is None and makes an error
lib/booktype/apps/export/models.py