Fix multi-scale updates

This commit is contained in:
Reinhard Pointner 2019-05-19 17:12:00 +07:00
parent 8c9e1787b4
commit e9aadf2c6d
1 changed files with 2 additions and 2 deletions

View File

@ -89,6 +89,8 @@ void build(ids, section, db, query) {
} catch (FileNotFoundException e) { } catch (FileNotFoundException e) {
log.warning "[IMAGE NOT FOUND] $e" log.warning "[IMAGE NOT FOUND] $e"
return null return null
} finally {
ls original
} }
} }
} }
@ -98,8 +100,6 @@ void build(ids, section, db, query) {
original.createNewFile() original.createNewFile()
original.setLastModified(System.currentTimeMillis()) original.setLastModified(System.currentTimeMillis())
} }
ls original
} }
if (original.length() > 0 && !thumb.exists()) { if (original.length() > 0 && !thumb.exists()) {