Wrap all commits with try/except

This commit is contained in:
Ruud
2014-01-26 00:33:21 +01:00
parent 31c39650a9
commit 7001ed476d
19 changed files with 919 additions and 689 deletions
@@ -119,7 +119,6 @@ class Dashboard(Plugin):
'files': {},
}))
db.expire_all()
return {
'success': True,
'empty': len(movies) == 0,