add per list export_json

This commit is contained in:
j 2016-01-15 13:29:35 +05:30
commit b961086475
4 changed files with 31 additions and 12 deletions

View file

@ -28,6 +28,7 @@ class Downloads(Thread):
if now > settings.server.get('last_update_check', 0) + 24*60*60:
settings.server['last_update_check'] = now
update.download()
state.user().library.export_json()
def download_next(self):
import item.models